mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
Make sure breakpoint problem markers are removed when a breakpoint is removed.
This commit is contained in:
parent
c7e0227b15
commit
9c7f2934ed
1 changed files with 3 additions and 0 deletions
|
@ -269,6 +269,9 @@ public class CBreakpointManager implements IBreakpointsListener, IBreakpointMana
|
|||
synchronized( getBreakpointMap() ) {
|
||||
for ( int i = 0; i < breakpoints.length; ++i ) {
|
||||
if ( breakpoints[i] instanceof ICBreakpoint ) {
|
||||
try { // Remove any problem markers for this breakpoint
|
||||
BreakpointProblems.removeProblemsForBreakpoint((ICBreakpoint)breakpoints[i]);
|
||||
} catch (CoreException e) {}
|
||||
Object obj = getBreakpointMap().get( (ICBreakpoint)breakpoints[i] );
|
||||
ICDIBreakpoint b = null;
|
||||
if ( obj instanceof ICDIBreakpoint ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue