Turning debugging Message comments on and off

Robert Ameeti Robert at Ameeti.net
Sun Feb 24 08:48:38 PST 2008


I sprinkle Message commands throughout my code at times in an effort 
to track down problems during coding. After I am through debugging, I 
then comment out my Message commands so as to not have the user 
having to react to the debug messages. Sometimes I do not notice a 
Message command and have overlooked the need to comment it out but 
the user later runs into that odd area of the code and voila, they 
see it.

Does anyone have any trick for easily turning off (and on) all 
Message commands that they've used for debugging? The problem comes 
about in that obviously there will be some Message commands that we 
do need for the user.
-- 

<><><><><><><><><><><><><><><><><><>
Robert Ameeti

I read somewhere that 77 per cent of all the mentally ill live in poverty. Actually, I'm more intrigued by the 23 per cent who are apparently doing quite well for themselves.
- Emo Philips
<><><><><><><><><><><><><><><><><><>


More information about the Qna mailing list