Re: [ROOT] How to turn on stack trace in non-root.exe program

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Sep 03 2004 - 18:09:04 MEST


Hi Brett,

   even when ROOT is used as a library it reads the rootrc file so you
should be able to control the stack trace generation via rootrc. Note
that you can always generate a stack trace by explicitly calling
gSystem->StackTrace().

Cheers, Fons.


On Fri, 2004-09-03 at 17:28, Brett Viren wrote:
> Hi,
> 
> How can one turn on the code that produces a stack trace on segv or
> other signals (ie the one controlled by Root.Stacktrace in the root
> application) when ROOT is used as libraries in a custom main program.
> 
> Thanks,
> -Brett.
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET