Event Icons

rocky edited this page Nov 7, 2010 · 2 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'

In trepanx:

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

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
t1 tbrkpt
-> call
:o debugger-call
-- line
!! raise
<- return
?! unknown
.. vm-insn