[mythtv] [OT] gdb GUI / IDE ?
John P Poet
jppoet at gmail.com
Wed Apr 2 02:01:07 UTC 2008
On Tue, Apr 1, 2008 at 7:46 PM, Sam Varshavchik <mrsam at courier-mta.com> wrote:
> John P Poet writes:
>
> > Under Linux, of course, GNU is the way to go. However, I find gdb to
> > be very clunky. Especially when trying to examine C++ class
> > variables, and even worse STL variables. I assume I just don't know
> > what GUI/IDE to use with gdb. I have tried to use gdb from within
> > emacs, and it helps, but not with *cleanly* printing class/stl
> > variables.
>
> Make sure you're using the latest available version of gdb. Earlier versions
> were not very good at demangling. The current version of gdb, gdb 6.7, which
> has not yet made it into all major distros, has even better C++ support.
Okay, I will look for that.
> > So, what do you all use for debugging? Are there some magical
> > commands I should be putting in .gdbinit to help with print C++ class
> > and STL variables? Is there some great GUI or IDE I need to know
> > about?
>
> As far as a GUI interface goes, you want ddd, which should be in most major
> distros.
I was under the impression that DDD was no longer being maintained?
Thanks for the info.
John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
More information about the mythtv-dev
mailing list