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:
parent
da5c3c790e
commit
35ec1e3650
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue