Skip to content

Commit

Permalink
Debugger.start is now deprecated; will clean this up later
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Moseley committed Sep 30, 2009
1 parent 557b95c commit da983d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/ruby-debug.rb
Expand Up @@ -164,7 +164,7 @@ module Kernel
# right after the last statement in some scope, because the next
# step will take you out of some scope.
def debugger(steps = 1)
Debugger.start unless Debugger.started?
Debugger.start
Debugger.run_init_script(StringIO.new)
if 0 == steps
Debugger.current_context.stop_frame = 0
Expand Down

0 comments on commit da983d4

Please sign in to comment.