compiling c-file inside root in debug mode

From: Stephan Zimmer <zimmerst_at_googlemail.com>
Date: Tue, 20 Oct 2009 19:59:38 +0200


Hi Rooters,
first of all thank you to Rene and all the others helping me and so many thousands every day with little or major problems/bugs. Right now I am trying to track down memory leaks which cause the memory usage of root to grow with time. In order to find any details I was running valgrind with the memcheck option but I wasn't able to set up root correctly to run in debug mode.
I have a kind of "steering script" Analyzer.C

#include <all necessary headers>

void Analyzer(){

 gROOT->ProcessLine(".L MyCode.C+");
 run(); // routine inside MyCode
}

so in order to run this ".L MyCode.C" in CINT's debug mode, what would I have to do? I've tried running Cint using this .L -v MyCode.C+ but that didn't work... Any ideas?
Cheers,
Stephan Received on Tue Oct 20 2009 - 19:59:57 CEST

This archive was generated by hypermail 2.2.0 : Tue Oct 20 2009 - 23:50:04 CEST