ruby-debug (for ruby 1.8), debugger (for ruby 1.9), byebug (for ruby 2.0), and also trepanning all have the -xor parameter --trace. Inside debuggers, the command set linetraceenables or disables line tracing. Here is the guide for ruby-debug
The original answer was revised because the link to the datanoise article, alas, no longer works. Also added ruby-debug successors
jcoby source
share