delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/28/10:40:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 28 Mar 2002 10:39:30 -0500
From: Christopher Faylor <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: hannes AT 2horns DOT com
Subject: Re: stacktrace from withn an exec upon error condition
Message-ID: <20020328153930.GF11781@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, hannes AT 2horns DOT com
References: <a7v9eh$1ph$1 AT main DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <a7v9eh$1ph$1@main.gmane.org>
User-Agent: Mutt/1.3.23.1i

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019