You can always call a function with a DEBUG flag and execute certain
parts if it's set or not.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Robert Cummings wrote:
> On Fri, 2008-08-15 at 18:34 -0500, Shawn McKenzie wrote:
>
>> Herman Gomez wrote:
>>
On Fri, 2008-08-15 at 22:56 -0500, Shawn McKenzie wrote:
> Robert Cummings wrote:
> > On Fri, 2008-08-15 at 18:34 -0500, Shawn McKenzie wrote:
> >> Herman Gomez wrote:
> >>> Hi,
> >>>
> >>> Here is something I used to do in C/C++ to include/exclude automaticaly
> >>> all debugging code at compilin
Robert Cummings wrote:
On Fri, 2008-08-15 at 18:34 -0500, Shawn McKenzie wrote:
Herman Gomez wrote:
Hi,
Here is something I used to do in C/C++ to include/exclude automaticaly
all debugging code at compiling time:
#define debug TRUE
#ifdef(debug)
//debugging code
#endif
That way I can
On Fri, 2008-08-15 at 18:34 -0500, Shawn McKenzie wrote:
> Herman Gomez wrote:
> > Hi,
> >
> > Here is something I used to do in C/C++ to include/exclude automaticaly
> > all debugging code at compiling time:
> >
> > #define debug TRUE
> > #ifdef(debug)
> > //debugging code
> > #endif
> >
>
Herman Gomez wrote:
Hi,
Here is something I used to do in C/C++ to include/exclude automaticaly
all debugging code at compiling time:
#define debug TRUE
#ifdef(debug)
//debugging code
#endif
That way I can include/exclude easily all debugging code in the final
compiled code. In PHP I ha
5 matches
Mail list logo