[mythtv] [OT] gdb GUI / IDE ?
John P Poet
jppoet at gmail.com
Wed Apr 2 18:01:40 UTC 2008
On Tue, Apr 1, 2008 at 9:39 PM, Daniel Kristjansson
<danielk at cuymedia.net> wrote:
> On Tue, 2008-04-01 at 20:01 -0600, John P Poet wrote:
> > 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?
>
> Me too. I used to use kdbg, it wasn't too fancy and it's basically a
> one man project, but it did do some Qt container demangling. I had to
> patch it to inspect SIMD registers and it sometimes got out of sync
> with gdb, but it was useful for what I was doing at the time.
>
> For MythTV, gdb is sufficient for my purposes, I hardly ever do
> step-throughs or breakpoints in MythTV. Most of the code I touch in
> MythTV is timing sensitive, so VERBOSE is my friend for debugging.
>
> -- Daniel
Thanks Daniel.
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