The where command prints the call stack.
Print a procedure traceback.
Print the number top frames in the traceback.
Start traceback from frame number.
Print traceback as if fp register hadaddress_expression value.
Include hidden frames.
Include library name with function name.
Quick traceback (only function names).
Verbose traceback (include function args and line info).
where:
number is a number of call stack frames.
Any of the above forms may be combined with a thread or LWP ID to obtain the traceback for the specified entity.
The -fp option is useful when the fp (frame pointer) register is corrupted, in which event dbx cannot reconstruct call stack properly. This option provides a shortcut for testing a value for being the correct fp register value. Once you have identified the correct value has been identified, you can set it with an assign command or lwp command.
Print a method traceback.
Print the number top frames in the traceback.
Start traceback from frame number.
Quick trace back (only method names).
Verbose traceback (include method arguments and line information).
where:
number is a number of call stack frames.
thread_id is a dbx-style thread ID or the Java thread name specified for the thread.