[linux-audio-dev] A C++ question

Immanuel Litzroth immanuell at enfocus.be
Tue Apr 22 06:12:01 UTC 2003

>>>>> "Nick" == Nick Tsocanos <nicktsocanos at 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.

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
Voice: +32 9 269 23 90
Fax : +32 9 269 16 91
Email: Immanuell at enfocus.be
web : www.enfocus.be

More information about the Linux-audio-dev mailing list