Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Policy on debug codes



On Thu, 13 Sep 2007, Nguyen Vu Hung ① wrote:

1. Do you remove *ALL* "debug" code when releasing your software?
2. Or just leave them because they don't harm the software. We will use
them in the future.

Well, that in part depends on whether you're likely to have to debug installations that are out in the field.

But generally, I delete the debug code completely, becuase it's only
there to get me to the point where I have an automated test passing, and
if it ever breaks again, the test is designed to tell me what's wrong.

cjs
--
Curt Sampson       <cjs@example.com>        +81 90 7737 2974
Mobile sites and software consulting: http://www.starling-software.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links