Re: [ROOT] debugging?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jul 24 2003 - 15:59:50 MEST


Hi Thomas,

There is nothing special with ROOT and gdb. If you want to debug
ROOT classes, you must compile them in debug mode.
In case you want to compile ROOT itself in debug mode when you install
from source, simply set
  setenv ROOTBUILD debug
  make

see: http://root.cern.ch/root/Install.html

Rene Brun

Thomas Schoerner wrote:
> 
> Hi,
> 
> I tried to find some information on how to best debug code. Is there a
> simple way to use gdb in root? Or something similar?
> 
> Cheers,
> 
> Thomas
> 
>    +-------------------------------------------------------------------+
>    |  Thomas Schoerner-Sadenius          schorner@mail.desy.de         |
>    |  Universitaet Hamburg, Institut fuer Experimentalphysik           |
>    |  Luruper Chaussee 149               phone 0049-40-8998-2954       |
>    |  D-22761 Hamburg                    room  67b / 5                 |
>    +-------------------------------------------------------------------+



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET