Stack Trace

All:

Anyone know where/how the ‘stack trace’ can be generated when an error is detected?

Problem: when a specific error occurs, I have an email being sent to me - HOWEVER, I can’t find a way to get the stack trace to be included in this email.

HOW can I capture this stack trace and ship it off to my Global::error method?

anyone ever do this kind of thing before?

Well,

xSession::xppCallStack();

will return a container with the lines of the Stack Trace.

You can then parse the container and fill in the body of your e-mail.

Good luck!

and the error can be encountered in the method add of the system class Info

Kashperuk Ivan,

That totally fixed my problem!

Thank you,
Skenderbeg