DBX Cheat Sheet: in Memory and Runs Till The
DBX Cheat Sheet: in Memory and Runs Till The
Walking the call stack Dbx allows you to fix code
and continue debugging
Breakpoints Tracing Execution up [h] [number]
without rebuilding/restarting
(dbx) stop in function_name Display lines as executed down [h] [number] the debug session. To fix
(dbx) trace event_spec your code:
(dbx) stop at file:line frame [h] [number]
[modifier] 1. Change source
2. (dbx) fix
(dbx) status e.g.,
This rebuilds the .o, loads it
(dbx) delete all/#breakpoint trace step Runtime checking in memory and runs till the
trace nextin function (dbx) check memuse fix. This does not change
the exe, so the exe has to be
Stepping trace change variable (dbx) check access rebuilt post debugging.
next [n] trace in func thread th_id Generates reports about
memory access/leaks/use
step [n] (dbx) dbxenv trace_speed Exit
number (dbx) quit
cont (dbx) trace file output_file
Debugging a Program With dbx
http://docs.sun.com/source/8193683/