ERROR-STACK-TRACE attribute
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
This attribute controls whether or not the CallStack property on error objects can be used. The default value is FALSE
(disabled). However, if getting the call stack is important for troubleshooting your
application, you should not hesitate to use it. When this attribute is FALSE, the default
value, the CallStack property on an error object will be the
Unknown value (?).
You can also set this
session attribute using the -errorstack startup
parameter.
Data type: LOGICAL
Access: Readable/Writeable
Applies to: SESSION system handle
An error object thrown from an application server to a client will contain
the stack trace from the application server in its CallStack property. If ERROR-STACK-TRACE is TRUE on the client,
the AVM will prepend the CallStack property with the stack
trace from the client. The text "Server StackTrace" will appear at the start of the
application server stack trace to differentiate it from the client side stack. In the
example below, the lines in boldface represent the application server stack trace:
|