Great minds think alike.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Carl Kugler
Sent: Friday, January 23, 2015 9:53 AM
To: [email protected]
Subject: Re: In C++ any way to get traceback info in a catch()?

How about using set_new_handler() in your main() to register a new_handler() 
that does a ctrace() followed by a throw(std::bad_alloc)?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to