This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: stacktrace from withn an exec upon error condition
- From: Christopher Faylor <cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Cc: hannes at 2horns dot com
- Date: Thu, 28 Mar 2002 10:39:30 -0500
- Subject: Re: stacktrace from withn an exec upon error condition
- References: <a7v9eh$1ph$1@main.gmane.org>
- Reply-to: cygwin at cygwin dot com
On Thu, Mar 28, 2002 at 06:30:39AM -0800, Hans Horn wrote:
>is there a way to create (and print) a procedure traceback from within an
>executable that is invoked upon error condition?
>This is possible on many other platforms.
>I've read about strace, but that seems to be not what I want, as to my
>understanding the executable needs to be run under strace.
cygwin_stackdump() may do what you want.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/