Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Cost of leaving debug statements in code

Cost of leaving debug statements in code

From: Mark Everhart <nwa_at_isd.net>
Date: 1997/06/05
Message-ID: <33962b81.0@news.isd.net>#1/1

Debate raging in current organization about the cost vs benefit of leaving debug output statements in production code. Currently, a private Boolean variable can be set On or Off by using public procedures. This variable is evaluated and if True then a debug package is called to output values of variables or whatever.

The argument rages over the cost of evaluating the Boolean variable at numerous places in the code. Obviously, the poor souls manning the beepers would like to have the option of re-running a production job that goes down with the debug set on, so they can evaulate more accurately the cause of a problem, fix it, and go back to sleep or whatever. Received on Thu Jun 05 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US