Debugging a Program With dbx

Finding Your Place on the Stack

Use the where command to find your current location on the stack.


where [-f] [-h] [-q] [-v] number_id

The where command is also useful for learning about the state of a program that has crashed and produced a core file. When a program crashes and produces a core file, you can load the core file into dbx.