Event Icons

rocky edited this page Mar 5, 2015 · 4 revisions

When trepan enters, it reports where you are, same as ruby-debug. However different is the addition of a two-character event icon:

In ruby-debug:

$ rdebug test.rb
/tmp/test.rb:1   # This is a ruby-debug location line
x = 'first line of program'
(rdb:1)

In trepan:

$ trepan test.rb
-- (/tmp/test.rb:1) # This is a trepan location line
^^ two-character icon here
x = 'first line of program'
(trepan):

Above ‘--’ indicates we are at a line event. Here is a list of all of the icons and what they mean:

icon event name
xx brkpt
C> c-call
<C c-return
-> call
:: class
[] coverage
:o debugger-call
-- line
!! raise
<- return
sw switch
$V trace-var
?! unknown
VM vm
.. vm-insn

And -| is an “end” event.