|
|
By default, when an exception is unhandled, the stack is not unwound. This allows symbolic debugging from the place of origin. However, if the UNWIND_STACK_BEFORE_TERMINATE environment variable is defined, the C++ support runtime will save an image of the process in file throw.core.process-id, then unwind the stack fully before calling terminate().
The setjmp(S) and longjmp(S) facility from the Standard C library will work in conjunction with C++ exception handling, as long as: