Re: [ROOT] debugging ROOT with gdb

From: Jiri Masik (masik@fzu.cz)
Date: Tue Jun 04 2002 - 11:00:29 MEST


Brett Viren <bv@bnl.gov> writes:
> David Faden writes:
>  > Hi,
>  >    Is there an online guide to debugging ROOT apps with gdb? 
>  > Specifically, I'm wondering if someone could explain in more detail these 
>  > directions given in by Fons Rademaker in an August 14, 2001 Roottalk message:
>  > 
>  > You need to run ROOT in synchronous mode in the debugger and set a breakpoint
>  > in RootX11ErrorHandler to see which X11 object causes the problem (set 
>  > debug=5
>  > in .rootrc to run in X11 sunc mode).
>  > I think the above directions could be useful in figuring out a problem 
>  > that's been puzzling me. I have added the following line to my .rootrc file:
>  > debug: 5
>  > Is this correct?
> 
> It might need to be:
> 
> 	Unix.*.Root.debug: 5
> 
> But, I'm not sure.
> 

Hi,

you can set gDebug=5 either in gdb or in Root. The line above
doesn't work I think.

Jiri



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:54 MET