idiom for debug code?
From: Dan Perl (danperl_at_rogers.com)
Date: 09/30/04
- Next message: Christian Otteneuer: "[Zope] How to filter and sort PropertyObjects from ZCatalog"
- Previous message: Aahz: "Re: One thread freezes my whole application"
- Next in thread: Robert Brewer: "RE: idiom for debug code?"
- Maybe reply: Robert Brewer: "RE: idiom for debug code?"
- Reply: Larry Bates: "Re: idiom for debug code?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 13:32:15 -0400
Is there a mechanism or an idiom for adding code for debugging so that it
can easily be removed in the production code? I am thinking of something
similar to the C/C++ preprocessor statements with which you can compile an
application with the debug code or without it (the default).
Dan
- Next message: Christian Otteneuer: "[Zope] How to filter and sort PropertyObjects from ZCatalog"
- Previous message: Aahz: "Re: One thread freezes my whole application"
- Next in thread: Robert Brewer: "RE: idiom for debug code?"
- Maybe reply: Robert Brewer: "RE: idiom for debug code?"
- Reply: Larry Bates: "Re: idiom for debug code?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|