Debugging a Program With dbx

Command Reference

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.

hide/unhide

Use the hide command to list the stack frame filters currently in effect.

To hide or delete all stack frames matching a regular expression:


hide [ regexp ]

The regular expression matches either the function name, or the name of the loadobject, and is a sh or ksh file matching style regular expression.

Use unhide to delete all stack frame filters:


unhide 0

Because the hide command lists the filters with numbers, you can also use the unhide command with the filter number:


unhide [ number | regexp 
]