Previous Next

CallStack property
Contains the ABL procedure call stack indicating when an ABL error object (an object that implements Progress.Lang.Error) was thrown.
Data type:
Access:
Applies to:
Returns the contents of the call stack as a string when the ABL error object or .NET exception object is raised. If the error occurs from the user interface, the procedure containing the latest WAIT-FOR statement will be at the top of the call stack.
Note:
If the ERROR-STACK-TRACE attribute of the SESSION handle is set to FALSE, then this property returns the Unknown value (?). To enable the CallStack property, set the SESSION:ERROR-STACK-TRACE property to TRUE, or use the -errorstack startup parameter at session startup.
Caution:
For more information, see ERROR-STACK-TRACE attribute reference entry. For more information on -errorstack, see OpenEdge Deployment: Startup Command and Parameter Reference.
The call stack contains one entry for each item on the stack, starting with the last item, which is where the error occurred. Each entry is delimited by the newline character. Each entry contains three values, separated by whitespace:
*
*
*
 
Syntax 
<file name> at line <n> (<full file name>) 
<user-defined-function-name> <file name> at line <n> (<full file name>)
 
 
line-number
The line number in the source code file where the error was raised.
file name
The name of the .p or .w file as it appears in the RUN statement which invoked the file.
class name
The name of the class including the package name.
full file name
The full file name is identical to the file name, but is prepended by the PROPATH element used by the RUN statement to identify the file.
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.