Skip to content

Commit d911770

Browse files
committed
Revert "skip most line events when stepping over code"
This reverts commit 759631e.
1 parent 2059d4a commit d911770

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/debug/thread_client.rb

+1-6
Original file line numberDiff line numberDiff line change
@@ -866,12 +866,7 @@ def wait_next_action_
866866

867867
depth = @target_frames.first.frame_depth
868868

869-
skip_line = false
870-
step_tp iter do |event|
871-
next if event == :line && skip_line
872-
# skip line events until we see a return event
873-
skip_line = !(event == :return || event == :b_return)
874-
869+
step_tp iter do
875870
loc = caller_locations(2, 1).first
876871
loc_path = loc.absolute_path || "!eval:#{loc.path}"
877872

0 commit comments

Comments
 (0)