Stacks pane

The behavior of the Stacks pane changes depending on the platform running the program you are debugging. Select the appropriate platform:

Note: When viewing the Stacks pane, choosing the Expand All option from the pane's menu in the debugger main menu bar will expand one level of the tree at a time. You must choose Expand All for each subsequent level of the tree that you wish to expand. Choosing Collapse All will collapse all levels of the tree.

ngaix.gif (307 bytes)ngwin.gif (301 bytes) Stacks pane

Use the Stacks pane to view program call stack information. Initially, the call stack trees are collapsed so only thread numbers and thread names appear. You can expand each call stack tree structure to display the names of all entries in the call stack. Call stack entries include functions, methods, procedures, or entry points, depending on the language of the program you are debugging..

When you select a thread, function, method, procedure, or entry point, the Source pane displays its source.

Use the pop-up menu in the Stacks pane to view call stack properties. You can also enable or disable threads by using the pop-up menu in the Stacks pane.

Note: For interpreted Java, enabling and disabling threads are not supported. Accordingly, the pop-up menu consists only of call stack Properties.

ngos400.gif (278 bytes) Stacks pane

Use the Stacks pane to view program call stack information. Initially, the call stack trees are collapsed so only thread numbers and thread names appear. You can expand each call stack tree structure. This displays the names of all entries in the call stack. To have all call stack information displayed for the entry names, select Stacks > Show All Stack Information from the menu bar.

If you select a call stack entry, the Source pane displays its source. When you select a thread, the Source pane displays the source of the top-most call stack entry for that thread. If the call stack entry does not contain debug data, you will see a Context Not Available message in the Source pane. To display the current line of execution in the displayed thread, select Source > Scroll To Thread Execution Point from the menu bar. To display the current line of execution of the thread that has caused the debugger to stop (for example, the thread where a breakpoint was hit), select Source > Show Stopping Thread Location from the menu bar. The Scroll To Thread Execution Point and Show Stopping Thread Location actions apply when you are debugging the only thread in a single-threaded program or a thread in a multithreaded program. For single-threaded programs, both actions accomplish the same task.

Use the pop-up menu in the Stacks pane to view call stack properties. You can also enable or disable threads by using the pop-up menu in the Stacks pane.

ng390.gif (283 bytes) Stacks pane

Use the Stacks pane to view program call stack information. Initially, the call stack trees are collapsed so only thread numbers and thread names are shown. You can expand each call stack tree structure to display the names of all entries in the call stack. Call stack entries include functions and routines.

When you select a thread, function, or routine, the Source pane displays its source or listing.

Use the pop-up menu in the Stacks pane to view call stack properties. You can also enable or disable threads by using the pop-up menu in the Stacks pane.