Re: compiling c-file inside root in debug mode

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Tue, 20 Oct 2009 13:37:13 -0500


Hi Stephan,

You can try:

 gROOT->ProcessLine(".L MyCode.C+g");

Cheers,
Philippe.

Stephan Zimmer wrote:
> 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 - 20:37:21 CEST

This archive was generated by hypermail 2.2.0 : Wed Oct 21 2009 - 23:50:02 CEST