-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
!!!
to fast forward breakpoints like in pry
#1084
Comments
!!!
to fast forward breakpoints like in pry
does it mean disable all breakpoints? |
Since |
Not OP, but it would be great if debug had something similar to Hackmodule Kernel
mattr_accessor :debugger_method, instance_accessor: false
def disable_debug
return unless Kernel.respond_to?(:debugger)
Kernel.debugger_method = method(:debugger)
Kernel.define_method(:debugger) { nil }
nil
end
def enable_debug
return unless Kernel.debugger_method
Kernel.define_method(:debugger, Kernel.debugger_method)
Kernel.debugger_method = nil
nil
end
end |
Having played with In If for example you're stuck in a loop, with |
@joshuay03 That's what I mean, yes. It was quite useful in a Rails setting. |
Pry had a feature where you could fast forward all subsequent breaks if you entered
!!!
. It would essentially automaticallycontinue
the subsequent breaks. It would be awesome to to have something like that in debug.The text was updated successfully, but these errors were encountered: