Re: Why .l command does not work ?

From: Fons Rademakers (rdm@pcsalo.cern.ch)
Date: Tue Jun 30 1998 - 00:27:06 MEST


Hi Nikolay,

   .l is to see local variables (to be used when debugging a
routine, i.e. when you are in a local scope). For what you
want use .g to see all variables in global scope.

To get some more run time information you can use the following
commands:

gClassTable.Print()  // shows all known classes
gObjectTable.Print() // shows all TObject derived active objects
TStorage::PrintStatistics()  // shows all allocated  and freed heap space


Cheers, Fons.


> 
> Hi ROOTers,
> I try to watch for (de)allocation of locals in root, but 
> 
> root [9] .l
> No variable table
> 
> I try to set in .rootrc : Root.ObjectStat to 1
> but it does not help. (also I try 'MemStat' and 'Debug')
> 
> I'm lost ~30 min. to searching in RootHtmlDoc tree, but
> fails to find a hints on this topic.
> (If it is important - I create vars in stack and in heap
> before trying .l)
> 
> Help, please.
>                                Nikolay Root
>                                BINP, Novosibirsk
>                                email : nroot@inp.nsk.su
> 


-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET