Debugging a Program With dbx

where

The where command shows the call stack for your current process. To print a procedure traceback:


where

To print the number top frames in the traceback:


where number

To start the traceback from frame number:


where -f number

To include hidden frames:


where -h

To print only function names:


where -q

To include function args and line info:


where -v

Any of the previous commands may be followed by a thread or LWP ID to view the call stack.