Debug with KDevelop4

Andreas Pakulat apaku at gmx.de
Sun Oct 4 16:43:33 BST 2009


On 04.10.09 18:25:29, Kishore wrote:
> On Sunday 04 Oct 2009 5:35:33 pm Amilcar do Carmo Lucas wrote:
> > On Sunday 04 October 2009 13:40:29 Jose Thadeu Cavalcante wrote:
> > > Hi,
> > >
> > > I need help: how to debug in KDevelop 4? I just set the cmake parameter
> > > CMAKE_BUILD_TYPE to Debug, GDB support is enable in plugin list, I set
> > > break points in code, but when I click in "Debug current Launch" button
> > > the program run like when I click "Execute current Launch" button. What
> > > wrong I doing?
> > >
> > > I'm using openSUSE 11.1, KDE 4.3.1 "release 169", and KDevelop 4 - 3.9.95
> > > (using KDevPlatform 0.0.95)
> > 
> > Are you using GDB from CVS head ?
> > You need that version. Older versions will not work.
> > 
> Do we need CVS HEAD or the 7.0 branch? I'm looking at the git mirror of gdb 
> and it seems that 7.0 has been branched. I recall from the lists here that 
> there was effort to get gdb features needed by kdevelop into gdb for the 7.0 
> release.

That depends on how "old" the 7.0 branch is. IIRC the last commits needed
by KDevelop were added to GDB CVS about 2 weeks (or was it 3?) ago. So if
the branch was created thereafter it should be fine.

Andreas

-- 
Don't look now, but there is a multi-legged creature on your shoulder.




More information about the KDevelop mailing list