schedule visual update for validating state - IDEA-190220

This commit is contained in:
Egor Ushakov
2018-04-23 13:00:03 +03:00
parent 68173a9790
commit a8700c1171
@@ -395,9 +395,10 @@ public class XDebugSessionImpl implements XDebugSession {
boolean active = ReadAction.compute(() -> isBreakpointActive(b));
if (active) {
synchronized (myRegisteredBreakpoints) {
CustomizedBreakpointPresentation validatingPresentation = new CustomizedBreakpointPresentation();
validatingPresentation.setIcon(b.getType().getValidatingIcon());
myRegisteredBreakpoints.put(b, validatingPresentation);
myRegisteredBreakpoints.put(b, new CustomizedBreakpointPresentation());
if (b instanceof XLineBreakpoint) {
updateBreakpointPresentation((XLineBreakpoint)b, b.getType().getValidatingIcon(), null);
}
}
handler.registerBreakpoint(b);
}