This post originated from an RSS feed registered with Ruby Buzz
by Huw Collingbourne.
Original Post: The Call Stack - Debugging Ruby 'Backwards'
Feed Title: SapphireSteel Software
Feed URL: http://www.sapphiresteel.com/spip.php?page=backend&id_rubrique=1
Feed Description: Discussion of Ruby, Flex and the Ruby In Steel and Amethyst/Flex IDEs for Visual Studio.
The Call Stack gives you a great way to ‘trace backwards' through the execution of your Ruby programs. Whereas a breakpoint shows you where you are at a given moment in the life of your program, the call stack shows you where you have been. Each time you step into a new method with the debugger, a new entry is added to the call stack . So, if you enter method x, the call stack pane shows x along with (optionally) some other information such as the name of the source file and (...)