Re: Exception stack trace
From: Evan Carew (tempcarew_at_pobox.com)
Date: 07/07/04
- Next message: m sergei: "Re: reference vs pointer .. ?"
- Previous message: Stephen Tyndall: "A giant list of resources for C++ programmers"
- In reply to: Markus Dehmann: "Re: Exception stack trace"
- Next in thread: Markus Dehmann: "Re: Exception stack trace"
- Reply: Markus Dehmann: "Re: Exception stack trace"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 06 Jul 2004 21:28:40 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Markus Dehmann wrote:
> On Mon, 05 Jul 2004 13:03:18 -0400, Pete Becker <petebecker@acm.org> wrote:
>
>> Markus Dehmann wrote:
>>
>>>
>>> What's the best way to implement an exception stack trace? What I want
>>> is sth like printStackTrace() in Java. It could look like this:
>>
>>
>> Unlike Java, C++ doesn't incorporate a debugger into every application.
>> If you need one you have to provide it.
>
>
> I know that C++ doesn't incorporate it automatically. My question was:
> What's the best way to implement such a stack trace (given that C++
> doesn't provide it)...
>
[snip]
If you happen to be developing on a system like Linux, then you could
use one of many utilities such as electric fence. These are designed to
provide the platform specific capabilities you seem to be looking for, &
unless I'm mistaken, they tie into GDB.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFA61HPoo/Prlj9GScRAtovAJ0cXxRAN0rjwIxdBH1aXox4/DtqQACeMwjy
PYGqYyeb+vm6KTalitOk+Xo=
=W3px
-----END PGP SIGNATURE-----
- Next message: m sergei: "Re: reference vs pointer .. ?"
- Previous message: Stephen Tyndall: "A giant list of resources for C++ programmers"
- In reply to: Markus Dehmann: "Re: Exception stack trace"
- Next in thread: Markus Dehmann: "Re: Exception stack trace"
- Reply: Markus Dehmann: "Re: Exception stack trace"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|