1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Fire a breakpoint changed event when the install count goes to zero so the breakpoint marker images will be updated to show the uninstalled state.

This commit is contained in:
Ken Ryall 2007-03-29 19:06:30 +00:00
parent da5c3c790e
commit 35ec1e3650

View file

@ -106,7 +106,8 @@ public class CBreakpointUpdater implements ICBreakpointListener {
public void run() {
for ( int i = 0; i < breakpoints.length; ++i ) {
try {
((ICBreakpoint)breakpoints[i]).decrementInstallCount();
if ( ((ICBreakpoint)breakpoints[i]).decrementInstallCount() == 0 )
DebugPlugin.getDefault().getBreakpointManager().fireBreakpointChanged( breakpoints[i] );
}
catch( CoreException e ) {
// ensureMarker throws this exception