Forum: Ruby on Rails Stepping into debugger while in script/breakpointer

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0cfed8578fdd30c896da1e810bd34df9?d=identicon&s=25 Vurg (Guest)
on 2006-01-11 18:08
(Received via mailing list)
How do I step into/over the code while in a script/breakpointer console?
D23f436b8e718e80f447712cdac67083?d=identicon&s=25 Amr Malik (amrmalik)
on 2006-01-12 01:21
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/HowtoDebug...

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
This topic is locked and can not be replied to.