View - Panes - Call Stack

The Call Stack pane is enabled when the Manifold Debugger is installed.

The Call Stack pane is used to display and manage the scripting engine's function call stack. It is used to debug scripts under the control of the debugger. Each row in the Call Stack pane shows a call.

 

images\btn_goto.gif

Go To - Enabled when a call within the Call Stack pane is highlighted. Go to that call. Double-clicking a line within the Call Stack pane is a shortcut to Go To that call.

images\btn_callstack_show_module.gif

Show Module - Press in to show module (script) names for each call.

images\btn_callstack_show_line.gif

Show Line - Press in to show the line number for that call within the module.

images\btn_callstack_show_linepos.gif

Show Line Position - Press in to show the position within the line for that call. Useful when there is more than one call on the same line.

images\btn_callstack_show_language.gif

Show Language - Press in to show the language used for each module.

 

For example, suppose we've stopped execution in a script called A at a breakpoint where another script is run.

 

images\sc_callstack_script_a.gif

 

With all of the Show buttons pressed in, the Call Stack pane will report the following values:

 

images\sc_callstack.gif

 

If we click on the single call line shown within the Call Stack pane we can enable the Go To button. This is not particularly useful in such a simple example (since we are already at that call) but when the Call Stack pane shows many calls we can click on any of them to highlight it and to jump execution to that call.

 

See Also

 

See the Debugger topic for an example of using the Call Stack pane. Other panes used with the debugger include:

 

Variables

Watches