time to remove some DEBUG() statements?

Tim Potter tpot at acsys.anu.edu.au
Mon Nov 23 21:47:23 GMT 1998


> > perhaps it's time for someone to delete a lot of the less useful ones.
> 
> The problem is to define the "less useful" ones :-).
> 
> I know when tracking down a problem that having this
> level of instrumentation can be *extremely* useful.

How about #ifdefing out (say) everything level 4 and higher.  Whatever
program you are debugging could be re-compiled.  Shouldn't affect anything
unless it is some dodgy timing problem.


Tim.

> 
> Jeremy.
> 
> -- 
> --------------------------------------------------------
> Buying an operating system without source is like buying
> a self-assembly Space Shuttle with no instructions.
> --------------------------------------------------------
> 



More information about the samba-technical mailing list