summaryrefslogtreecommitdiff
path: root/lib/debug.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debug.rb')
-rw-r--r--lib/debug.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/debug.rb b/lib/debug.rb
index 90270a3..430d647 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -92,16 +92,16 @@ class DEBUGGER__
when /^c(ont)?$/
return
when /^s(tep)?\s*(\d+)?$/
- if $1
- lev = Integer($1)
+ if $2
+ lev = Integer($2)
else
lev = 1
end
@stop_next = lev
return
when /^n(ext)?\s*(\d+)?$/
- if $1
- lev = Integer($1)
+ if $2
+ lev = Integer($2)
else
lev = 1
end