[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: RFC: Strategy for integrating the Nana debugging library
From: Stephan Kulow <coolo () kde ! org>
Date: 1999-12-21 17:46:27
[Download RAW message or body]
David Faure wrote:
>
> > David Faure wrote:
> > > >
> > > > The problem with using any of this is that it still takes time
> > > > if turned off.
> > > I'm thinking of a global flag (in the config file and the config app)
> > > to turn debug output off, to save time (compared to looking for the
> debug
> > > area first...). What do you think ?
> > > Perhaps that would allow to release without NDEBUG ?
> > Can't we just make kdebug a 0 macro with NDEBUG?
> Sure we can (and it's the case currently, even in my draft), but if we do
> that
> then a developer can't ask a user "please turn debug output on", like
> Torben pointed out. That's what I wanted to address...
>
No, NDEBUG should really spend 0 time for debug, not even checking for
a flag. But all these snapshot users shouldn't use -g for debug output
Greetings, Stephan
--
When your memory goes, forget it!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic