>>>> "Nick" == Nick Tsocanos
<nicktsocanos(a)charter.net> writes:
Nick> I can not run gdb on my
program, it won't work. The code is
Nick> too hard to debug by just looking at it. The only way I can
Nick> debug is to put hundreds of printf() into the code. That was
Nick> how I found log( blah ) was making NAN as well. I have
Nick> learned to live without a debugger, but it sucks, because I
Nick> really need it.
What is your problem with gdb? I have no problem debugging complex
programs with it. I use the setting -ggdb3 and compile with
optimization off.
Immanuel
--
It is a profoundly erroneous truism, repeated by all copy-books and
by eminent people when they are making speeches, that we should cultivate
the habit of thinking about what we are doing. The precise opposite is the
case. Civilization advances by extending the numbers of important operations
which we can perform without thinking about them. Operations of thought are
like cavalry charges in battle -- they are strictly limited in number, they
require fresh horses, and must only be made at decisive moments.
-- A.N. Whitehead
--
Immanuel Litzroth
Software Development Engineer
Enfocus Software
Kleindokkaai 3-5
B-9000 Gent
Belgium
Voice: +32 9 269 23 90
Fax : +32 9 269 16 91
Email: Immanuell(a)enfocus.be
web :
www.enfocus.be
***************************************************************************