Boost logo

Boost :

From: scleary_at_[hidden]
Date: 2002-08-20 14:31:08

I'm working on a Boost.StackTrace library. There's a Win32 implementation
in the Files area, StackTraces/ The idea I'm going with
is to define a generic Boost.StackTrace API, and then layer the Boost.Assert
API on top of that.

Currently, it should work for MSVC, BCB6, and I think BCB5. I haven't
evaluated yet what it might take to work for GCC on Win32. I'm currently
working on the BCB tool so that it will be more flexible (work for BCB 3-5
and more likely to work with future versions). After that, I'll see what's
necessary for GCC/Win32 support.

As for other platforms, the Boost.StackTrace API should be fairly simple to
implement on Linux, etc. Easier than Win32.

There's a "docs.txt" in the zip file that covers the Boost.StackTrace API,
the Win32 extensions to the Boost.StackTrace API, and compiler-specific
notes (just Borland for now).


-----Original Message-----
From: David Abrahams [mailto:dave_at_[hidden]]
Sent: Tuesday, August 20, 2002 10:45 AM
To: boost_at_[hidden]
Cc: bjorn.karlsson_at_[hidden]
Subject: Re: [boost] improved assertions?

Did anything ever come of this? I'd really love to see improved assertions
on platforms which can support them also!

Oh, if I remember correctly, this project degenerated when people began
pursuing intrusive-yet-portable designs that require users to add cruft to
every function in order to get a backtrace... at least, that's when I lost

Well, allow me to restate my interest in seeing a library which takes
advantage of platform-specific facilities to produce a backtrace


           David Abrahams * Boost Consulting
dave_at_[hidden] *

----- Original Message -----
From: "Fredrik Blomqvist" <f_blq_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, June 12, 2002 11:07 AM
Subject: RE: [boost] improved assertions?

> >I'd like to have assertions that include a stack
> >traceback. Is it possible to do this portably? Does
> >such a lib already exist?
> I have recently been using Jani Kajala's stacktrace
> library:
> (MSVC and it uses the map-file for name-lookup)
> Just put it inside a simple assert-macro and all is
> well!
> But regardless of the specific techniques used it
> should be realatively easy to hide it behind a uniform
> interface. Compared to threads forex this should be
> quite doable IMHO.
> I'd really like to see something similar in boost!
> /Fredrik Blomqvist
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> _______________________________________________
> Unsubscribe & other changes:

Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at