Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Bevin R Brett <bevin.brett@compaq.com>
Subject: Re: Stack Trace
Date: Sat, 17 Feb 2001 14:58:35 -0500	[thread overview]
Message-ID: <3A8ED7EA.42D25AA0@compaq.com> (raw)
In-Reply-To: nhdr8tkk0uupnqsrc0kpcov58d8iut357t@4ax.com

Yes, there is two simple ways to do this.

The easiest way gives just a function-level stack trace, and the code
you need to add is documented here

ftp://ftp.compaq.com/pub/products/software/developer/ladebug_debugger_manual.html#at.start.stack

in section 14.2 Modifying Your Program to Print a Stack Trace

Chapter 15, of the same manual, describes how you can actually start the
ladebug debugger from your code, in which case you can feed it a 'where'
command and have it do a full symbolic stack trace including lines and
files etc.

/Bevin
Compaq Ladebug team

Big H wrote:

> Hi,
>
> I have an application that is fairly large (memory wise) and takes
> upto 10 minutes to generate the core file. However, if this service
> fails, I need to failover to a different machine. This can only be
> detected when the process finally dies (after writing of the core).
>
> Is there a mechanism to generate just the stack trace from a C++
> program, this could then be called by the exception handler.
>
> Big H.



      reply	other threads:[~2001-02-17 19:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-16 23:25 Stack Trace Big H
2001-02-17 19:58 ` Bevin R Brett [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox