View Single Post
  #7  
Old 01-16-2017, 07:31
Mr.reCoder Mr.reCoder is offline
Friend
 
Join Date: Oct 2014
Location: Binary Land
Posts: 14
Rept. Given: 4
Rept. Rcvd 10 Times in 8 Posts
Thanks Given: 12
Thanks Rcvd at 16 Times in 3 Posts
Mr.reCoder Reputation: 10
Quote:
Originally Posted by nashito View Post
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/
Reply With Quote
The Following 2 Users Say Thank You to Mr.reCoder For This Useful Post:
abhi93696 (03-14-2017)