1
0
Fork 0
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:
Ken Ryall 2007-03-14 19:48:35 +00:00
parent c7e0227b15
commit 9c7f2934ed

View file

@ -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 ) {