Bug 148881 - breakpoints cannot always be cleared
Summary: breakpoints cannot always be cleared
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (show other bugs)
Version: 3.4.1
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-16 14:41 UTC by Rob L
Modified: 2009-07-24 21:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob L 2007-08-16 14:41:20 UTC
Version:           3.4.1 (using KDE KDE 3.5.1)
Installed from:    Compiled From Sources
OS:                Linux

Sometimes breakpoints cannot be cleared.  Deleting them from the list has no effect, and you have to click on them 3+ times in the editor to clear them.  Even then they sometimes come back when you restart the application.  Possibly the breakpoint list managed by kdevelop is getting out of sync with gdb?  You should be able to delete all breakpoints in kdevelop, even if gdb thinks there are none.

A workaround is to reopen the project, after which all remaining breakpoints can be cleared.
Comment 1 Vladimir Prus 2007-08-29 20:30:18 UTC
Do you have an easy way to reproduce this?
Comment 2 Rob L 2007-09-03 10:46:06 UTC
set auto-solib-add off
in ~/.gdbinit
so that kdevelop can't set some existing breakpoints when it starts an application
then 'shared' & 'enable' in gdb.

However it doesn't go wrong every time.
Comment 3 Andreas Pakulat 2009-07-24 21:28:23 UTC
KDev4 doesn't set stop-on-solib anymore and I haven't seen any such problems yet. Assuming fixed.