Call Stack

The call stack is a list of the ProcScript modules that have activated or called another module, and their associated component names and line numbers. The most recent module appears at the top of the list.

At run time, each call to a ProcScript module is added to the call stack. When a module is called recursively, a level of ProcScript nesting is added to the call stack. If the nesting level reaches 500, Uniface issues a fatal error message (9033 "Runtime error: Proc stack overflow").

Call Stack Fields

  • Component—name of the component in which the calling ProcScript module is located.
  • Module—name of the calling ProcScript module.
  • Line—line number of the activate or call command .
  • Code—ProcScript code that performs the activation or call

How to

To view the call stack, choose View > Call Stack from the Debugger menu.

To view a ProcScript module listed in the call stack, double-click it to open it in the Browser, or choose Show in Browser from the context menu.

Note: It only possible to open components and Global ProcScripts, not application shells.

Related Topics