Tools: Debugging Native and Java Code with WDB

Page 5
Tools for
Debugging
© 2001 Hewlett-Packard Company
gdb
Summary of Commands Used
r [args] run program with args as arguments
set args set the arguments for the run command
thr print thread number
thr # change to thread #
info thr list all threads in the process
thread apply all bt generate backtrace of all threads or
can specify individual threads or range, 1-10
bt generate back trace of current thread
c continue
<Control-c> stop the running process
quit exit the debugger