IMarkerDelta delta) {
if (ChromiumLineBreakpoint.getIgnoreList().contains(lineBreakpoint)) {
return;
}
Breakpoint sdkBreakpoint = getMap().getSdkBreakpoint(lineBreakpoint);
if (sdkBreakpoint == null) {
return;
}
if (!lineBreakpoint.isEnabled()) {
return;
}
JavascriptVm.BreakpointCallback callback = new JavascriptVm.BreakpointCallback() {
public void failure(String errorMessage) {
ChromiumDebugPlugin.log(new Exception("Failed to remove breakpoint in " + //$NON-NLS-1$
getTargetNameSafe() + ": " + errorMessage)); //$NON-NLS-1$
}
public void success(Breakpoint breakpoint) {
}
};
try {
sdkBreakpoint.clear(callback, null);
} catch (RuntimeException e) {
ChromiumDebugPlugin.log(new Exception("Failed to remove breakpoint in " + //$NON-NLS-1$
getTargetNameSafe(), e));
}
getMap().remove(lineBreakpoint);