mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
myInactiveSlaveBreakpoints requires synchronization
This commit is contained in:
@@ -91,7 +91,7 @@ public class XDebugSessionImpl implements XDebugSession {
|
||||
private XDebugProcess myDebugProcess;
|
||||
private final Map<XBreakpoint<?>, CustomizedBreakpointPresentation> myRegisteredBreakpoints =
|
||||
new THashMap<XBreakpoint<?>, CustomizedBreakpointPresentation>();
|
||||
private final Set<XBreakpoint<?>> myInactiveSlaveBreakpoints = new SmartHashSet<XBreakpoint<?>>();
|
||||
private final Set<XBreakpoint<?>> myInactiveSlaveBreakpoints = Collections.synchronizedSet(new SmartHashSet<XBreakpoint<?>>());
|
||||
private boolean myBreakpointsDisabled;
|
||||
private final XDebuggerManagerImpl myDebuggerManager;
|
||||
private MyBreakpointListener myBreakpointListener;
|
||||
@@ -420,7 +420,7 @@ public class XDebugSessionImpl implements XDebugSession {
|
||||
|
||||
public boolean isBreakpointActive(final XBreakpoint<?> b) {
|
||||
ApplicationManager.getApplication().assertReadAccessAllowed();
|
||||
return !areBreakpointsMuted() && b.isEnabled() && !myInactiveSlaveBreakpoints.contains(b);
|
||||
return !areBreakpointsMuted() && b.isEnabled() && !isInactiveSlaveBreakpoint(b);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user