Re: Advanced c++ debugging techniques on Unix




Paul Pluzhnikov wrote:
"Maitre Bart" <maitrebart@xxxxxxxxxx> writes:

There are many books that teach C++, but not so many that teach how to
debug C++ apps.

You debug C++ apps in just the same way you debug apps in any other
language (C, Python, Java, etc.).

IMHO, a "must read" for debugging in general is this one:
http://www.amazon.com/Debugging-Indispensable-Software-Hardware-Problems/dp/0814471684

So, here I am polling for those of you that have been impressed by
books, tools or libs on advanced c++ debugging techniques on Unix.

The most advanced (free) C++ debugging tools on linux are valgrind,
gdb and compiling with -D_GLIBCXX_DEBUG.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.

First, thank you very much for all of you that contributed to this
thread with their meaningful inputs. I really appreciate.

Though I forgot to specify that in most of my cases, I have to debug
others' applications and others' libs. I'm working in a big place where
there are big apps/libs, and it is sometimes very intimidating to start
debugging those monsters. I have to deal with what the "accomplished
fact".

It seems Berhnard is right when he says it's a "black art". I suspected
this too when I realized there wasn't much books on the Net on this
subject.

Thanks for your suggestions, hints and tips. They will certainly be
useful in my future.

I will continue to look around.

.



Relevant Pages

  • Re: Running smartdevice applications (CF) on the desktop from VS.NET
    ... Debugging CF apps on the desktop with CF 1.0 is not supported (with CF 2.0 ... Even if you could debug them, remember that your code will be running ... > Provided you don't use CF Framework extensions, ...
    (microsoft.public.pocketpc.developer)
  • Re: Running smartdevice applications (CF) on the desktop from VS.N
    ... "David Jones" wrote in message ... >> Debugging CF apps on the desktop with CF 1.0 is not supported (with CF ... >> Even if you could debug them, remember that your code will be running ... >> against the desktop framework where some things are different (including ...
    (microsoft.public.pocketpc.developer)
  • Re: Advanced c++ debugging techniques on Unix
    ... You debug C++ apps in just the same way you debug apps in any other ... tools or libs on advanced c++ debugging techniques on Unix. ... In order to understand recursion you must first understand recursion. ...
    (comp.os.linux.development.apps)
  • Im in asp.net 1.1 hell....re debugging and breakpoints.
    ... I have googled til my fingers hurt and am ... Both machines will also debug a C# asp.net 1.1 app with no problems. ... no breakpoints get hit in the Page_load of the main.aspx ... asp.net apps ...
    (microsoft.public.dotnet.framework.aspnet)
  • cant debug large CFM in CW8
    ... A coworker has had a problem with CodeWarrior for a long time: ... debug larger CFM apps. ... creating a new user account to run with, installing CodeWarrior fresh ...
    (comp.sys.mac.programmer.codewarrior)