Debugging with KDevelop
Vladimir Prus
ghost at cs.msu.su
Mon Oct 24 09:08:03 UTC 2005
On Monday 24 October 2005 02:47, Andreas Pakulat wrote:
> On 23.10.05 23:30:43, Amilcar do Carmo Lucas wrote:
> > On Sunday 23 October 2005 22:57, Andreas Pakulat wrote:
> > > kdevelop actually has no debugger of it's own, it's "only" a nice UI
> > > around the gdb. And gdb has a way of storing expansions and macros: the
> > > file .gdbinit in your home directory. Unfortunately the gdb launched
> > > from within kdevelop doesn't read this file (I have no idea why)...
> >
> > AFAIK this bug is fixed in KDevelop 3.2.92
>
> Right, according to the bugreport, but do you have a small snippet with
> which I could test this for my kdevelop (currently
> branches/KDE/3.5/kdevelop)? AFAIK the stuff for the qt-containers and co
> are included by kdevelop automatically and that's all I have in my
> .gdbinit due to lack of gdb-knowledge.
Add
printf "This is .gdbinit"
to your .gdbinit, and start debugger under KDeloper. Go to the top of the gdb
window and search for "This is .gdbinit" string.
Note: "printf", not "print".
- Volodya
More information about the KDevelop-devel
mailing list