« Return to Thread: [67cat][ruby][debugger] Debugger doesn't always honor breakpoints.

[67cat][ruby][debugger] Debugger doesn't always honor breakpoints.

by esmithbss :: Rate this Message:

Reply to Author | View in Thread

I am trying to debug a Ruby On Rails application.  I have a dozen or so
breakpoints set in the execution path and when I step through them,
every single line is touched, so I am fairly confident that the code is
working up to a point.

The problem comes when I click the "Continue" button.

I have a stretch of 10 lines within my code that I want to continue
through.  So I click the "Continue" button and the application
continues.  But it doesn't continue to the next breakpoint.  It
continues to completion as if the remaining breakpoints don't exist.

Looking at the IDE log, I can see the following where I hit the continue
button.

FINE [org.rubyforge.debugcommons.RubyDebuggerProxy]: Sending command
debugger: cont
FINEST [org.rubyforge.debugcommons.Util]: Received Message: <message
debug='true'>Processing: cont</message>
FINEST [org.rubyforge.debugcommons.Util]: Received Message: <message
debug='true'>Processing context: cont</message>
FINEST [org.rubyforge.debugcommons.Util]: Received Message: <message
debug='true'>Resumed Thread #<Thread:0xb5b42e08></message>

But that's where the log ends.  Noting beyond it to say it hit a bug or
skipped any breakpoints.

I'm pretty sure I'll need to fill in a bug report, but just saying
"Debugger doesn't honor all breakpoints" doesn't do anything to help
determine what's happening.

Any hints on how I should gather info for this one?


 « Return to Thread: [67cat][ruby][debugger] Debugger doesn't always honor breakpoints.