mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
schedule visual update for validating state - IDEA-190220
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user