Skip to content

Instantly share code, notes, and snippets.

@jsl
Created March 14, 2013 23:24
Show Gist options
  • Save jsl/5166174 to your computer and use it in GitHub Desktop.
Save jsl/5166174 to your computer and use it in GitHub Desktop.
Debugging with jruby

JRuby debugging with 'step' and 'next'

If you run without the --debug flag, jruby steps into functions rather than skipping them. Perhaps that is related to this warning when starting with -rdebug and omitting the --debug flag:

warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag

Running 'next' does seem to work properly when I run the jruby debugger as follows:

ruby -rdebug --debug test_debuggers.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment