Going Up the Stack When Execution Stops

Related Topics:

Debugging Behavior Defaults

During debugging, execution may stop in a function in your program that is not debuggable source code (that is, was not compiled with -g). You can choose to have the call stack pop to the first debuggable source code in thiscase.

To go up the stack to the first executable source code when execution stops::

1. In the Debugging Window, choose Debug Debugging Options. Or, in the Sun WorkShop main window, choose Options Debugging Options.

2. In the Debugging Options Dialog Box, click the Debugging Behavior tab.

3. Click the checkbox labeled When execution stops, go up the stack to the first debuggable source code.

4. Click OK to apply the change to the current session, or click Save as Defaults and then click OK to apply it to all sessions.

Note - This optionis equivalent to the dbx
stack_find_source Environment Variable.