[C++-sig] c++ exception stack trace

Niall Douglas s_sourceforge at nedprod.com
Sat Jun 11 12:36:49 CEST 2011


On 9 Jun 2011 at 16:10, Jon McAuliffe wrote:

> when a thrown c++ exception is translated to the python layer
> and ultimately printed out by the python interpreter, is there
> an easy way to print out the corresponding c++-layer stack trace
> as well?

Easier on GCC than MSVC. See FXException::init() at:

https://github.com/ned14/tnfox/blob/master/src/FXException.cxx#L304

HTH,
Niall

-- 
Technology & Consulting Services - ned Productions Limited.
http://www.nedproductions.biz/. VAT reg: IE 9708311Q. Company no: 
472909.





More information about the Cplusplus-sig mailing list