Consultor Eletrônico



Kbase P165758: How to get the stack trace from the point where an exception was thrown, without changing applicatio
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/05/2010
Status: Unverified

GOAL:

How to get the stack trace from the point where an exception was thrown, without changing application code ?

GOAL:

How to get the call stack for an exception at the time the exception is caught ?

FACT(s) (Environment):

OpenEdge 10.2x
All Supported Operating Systems

CAUSE:

Enhancement Request# 0000004044

CAUSE:

This is currently not possible.
An Enhancement Request is logged to make this information available via the existing DEBUG-ALERT Stack Trace information dialog, which can be controlled independently of the application code.

FIX:

This Enhancement has not been implemented in the product.

Note that the trace information when an exception is thrown can be stored in the exception objects. This is done by setting the attribute SESSION:ERROR-STACK-TRACE = YES, or by starting the session with -errorstack startup parameter.

However, making this trace visible requires explicitly coding CATCH blocks that report the exception:CallStack property to the user.