summaryrefslogtreecommitdiff
path: root/lib/debug.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debug.rb')
-rw-r--r--lib/debug.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/debug.rb b/lib/debug.rb
index a8a41ef978c..7b95475dced 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -83,7 +83,6 @@ class DEBUGGER__
@stop_next = 0
end
@last_file = nil
- @last = [nil, nil]
@file = nil
@line = nil
@no_step = nil
@@ -701,14 +700,9 @@ EOHELP
# nothing to do. skipped.
end
if @stop_next == 0 or check_break_points(file, line, binding, id)
- if [file, line] == @last
- @stop_next = 1
- else
- @no_step = nil
- suspend_all
- debug_command(file, line, id, binding)
- @last = [file, line]
- end
+ @no_step = nil
+ suspend_all
+ debug_command(file, line, id, binding)
end
when 'call'