[ROOT] debugging ROOT with gdb

From: David Faden (dfaden@iastate.edu)
Date: Mon Jun 03 2002 - 23:04:16 MEST


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?
   I have not figured out how to set a break point in RootX11ErrorHandler. 
gdb seems not to be aware of it. Would I need to recompile the ROOT 
libraries for gdb to be able to find it?
   Thank you.

David



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