Stepping into debugger while in script/breakpointer


#1

How do I step into/over the code while in a script/breakpointer console?


#2

Vurg wrote:

How do I step into/over the code while in a script/breakpointer console?

Vurg, I don’t think you can ‘step’ per se, but you can do multiple
breakpoints. some more info here :

http://laughingmeme.org/archives/002900.html

Also the wiki has some info on breakpointer:

http://wiki.rubyonrails.com/rails/pages/HowtoDebugWithBreakpoint

Breakpointer docs here:

http://ruby-breakpoint.rubyforge.org/doc/

once the breakpoint kicks in, you can do things like:

client.puts source_lines # will give you the source context
local_variables

exit will “continue” on, until perhaps your next breakpoint.

HTH,

Amr