From: Branko Èibej (branko.cibej_at_[hidden])
Date: 2000-06-12 03:07:45
Kevin Atkinson wrote:
> The behavior of the program should not be different when debugging
> than when not debugging except that the debug code will crash exactly
> where the real bug is instead of in some mysterious place, or won't
> print an warning when something looks specious. For this reason debug
> checks should never throw, they should crash the program at the point
> of error or output some kind of warning message. They should never do
> something that will correct the problem. If you stick with these
> rules they will never be any bugs that won't show up in the
> "debugging" code because the behavior of the program has not changes.
Oh; I agree with that. Sorry if I misunderstood you before.
-- Branko Èibej <branko.cibej_at_[hidden]> HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk