Quote:
Originally Posted by nashito
Great info,
but I am on Mac and I cannot found any info about tracing exception handler on unix system
can someone point me on the right direction?
thanks
nashito
|
hi,
you can use 'strace' - trace system calls and signals - if available!
however I c++ If an exception is uncaught, the special library function std::terminate() is automatically called. Terminate is actually a pointer to a function and default value is the Standard C library function std::abort().
look at:
Code:
http://en.cppreference.com/w/cpp/error/terminate
also this is a good article:
Code:
https://spin.atomicobject.com/2013/01/13/exceptions-stack-traces-c/