search for: start_debug

Displaying 1 result from an estimated 1 matches for "start_debug".

Did you mean: stabs_debug
2006 Jul 05
2
Rails debugging - a (slightly) better approach?
...ly slow with rails is that there are a LOT of statements to process in this way until the debuggee code gets hit. I played around with it and came up with a way of starting the debugger only just before it is required - similar to adding "breakpoint" calls to my code, I can now say "start_debug", which will then break into the core ruby debugger in the console where WEBrick is started. Some things don''t work (and I think cannot work), such as traversing the call stack and evaluating expressions in the scope of higher-level stack frames. Apart from that, I can list the sourc...