Robert Heller <[EMAIL PROTECTED]> writes: > PP> > Putting print statements insice the set_value() and set_value_type() > PP> > PP> Is the wrong way to debug problems. You should learn to use a > PP> debugger; that skill will serve you well. > > There are many situations where using a debugger is not possible
Actually, in general programming (i.e. not in embedded systems) there are very *few* such situations. The OP is certainly in a situation where using the debugger rather then edit (to add printf)/recompile/re-run is called for. > *Never* underestimate the value of print statement. In general programming, there are quite a few situations where adding a print statement modifies the stack layout or program timing enough to make the bug hide or move somewhere else. Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. _______________________________________________ Help-gplusplus mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gplusplus
