Boost logo

Boost :

Subject: Re: [boost] [Backtrace] Any interest in portable stack trace?
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2010-10-20 17:44:54


On Oct 20, 2010, at 12:47 PM, Artyom wrote:
> Hello,
>
> Is there any interest in getting portable stack trace to boost - get
> something similar to Java's printStackTrace.
>
> Basics:
>
> 1. Getting stack trace of return pointers
> 2. Converting this pointers to human readable trace
>
> Extras:
>
> 1. Create exception classes that capture stack trace on throw (only pointers)
> 2. Print a trace on catch
>
> Supported Platforms:
> Linux, Mac OS X, Solaris and Windows >= XP using MSVC.
>
> Tested on:
>
> Linux x86_64, GCC,
> Linux x86, GCC
> Linux x86_64, Intel
> Windows XP 32bit, MSVC 2008

Yes!
Please coordinate with Emil Dotchevski to enable stack traces be attached to boost::exception objects.

-- Marshall


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk