[Top][All Lists]

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

Re: Bug Database?

From: Miles Bader
Subject: Re: Bug Database?
Date: Fri, 20 Oct 2006 11:19:15 +0900

Frank Schmitt <address@hidden> writes:
> Which results in the fact that gdb is since years completely unusable
> for C++ programs relying on templated functions. 

Well, while I'll admit that the last I looked[*] the gdb internals were
awful, unreadable, and barely maintainable code, this statement simply
isn't true.

[*] Many years ago, so take this with a grain of salt.

I spend lots of time debugging heavily templated C++ code in gdb, and
basically there are few problems (other than the canonical "optimized
code can be confusing in the debugger" issues).  While debugging around
templates requires a bit of knowledge about what's actually going on,
it's no different than many other general debugging problems; you run
into minor annoyances, and you quickly find ways around them.

> So most C++ developers I know have switched to the "free as in free
> beer but not free as in free software" debugger from Sun Studio which
> in contrast to gdb works really well.

I suspect this has more to do with the sort of developers you know than
with gdb.


*This is the cute bunny virus, please copy this into your sig so it can spread.

reply via email to

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