help-gplusplus
[Top][All Lists]
Advanced

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

Re: Where does g++ keep temporary template source


From: Paul Pluzhnikov
Subject: Re: Where does g++ keep temporary template source
Date: Sat, 20 Aug 2005 14:47:55 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

Robert Heller <heller@deepsoft.com> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]