@Override void breakpointChanged(ChromiumExceptionBreakpoint uiBreakpoint, IMarkerDelta delta) { FakeSdkBreakpoint sdkBreakpoint = getMap().getSdkBreakpoint(uiBreakpoint); if (sdkBreakpoint == null) { return; } boolean includeCaught = uiBreakpoint.getIncludeCaught(); boolean enabled; try { enabled = uiBreakpoint.isEnabled(); } catch (CoreException e) { throw new RuntimeException(e); } boolean changed = false; synchronized (this) { if (includeCaught != sdkBreakpoint.includeCaught) { changed = true; sdkBreakpoint.includeCaught = includeCaught; } if (enabled != sdkBreakpoint.enabled) { changed = true; sdkBreakpoint.enabled = enabled; } } if (changed) { updateRemoteState(); } }
void initProperties(ChromiumExceptionBreakpoint uiBreakpoint) { includeCaught = uiBreakpoint.getIncludeCaught(); try { enabled = uiBreakpoint.isEnabled(); } catch (CoreException e) { ChromiumDebugPlugin.log(e); } }
@Override ChromiumExceptionBreakpoint tryCastBreakpoint(IBreakpoint breakpoint) { if (connectedTargetData.getDebugTarget().isDisconnected()) { return null; } return ChromiumExceptionBreakpoint.tryCastBreakpoint(breakpoint); }