B2G/gecko/browser/devtools/debugger/debugger-controller.js
/**
   * Event handler for breakpoints that are removed from the editor.
   *
   * @private
   * @param object aBreakpoint
   *        The breakpoint object that was removed from the editor.
   */
Event handler for breakpoints that are removed from the editor.
@private
@param object aBreakpoint
The breakpoint object that was removed from the editor.
Event handler for breakpoints that are removed from the editor . @private @param object aBreakpoint The breakpoint object that was removed from the editor .
function BP__onEditorBreakpointRemove(aBreakpoint) {
    let url = DebuggerView.Scripts.selected;
    if (!url) {
      return;
    }
    let line = aBreakpoint.line + 1;
    let breakpoint = this.getBreakpoint(url, line);
    if (breakpoint) {
      this.removeBreakpoint(breakpoint, null, true);
    }
  }
function BP__onEditorBreakpointRemove ( aBreakpoint ) { let url = DebuggerView . Scripts . selected ; if ( ! url ) { return ; } let line = aBreakpoint . line + 1 ; let breakpoint = this . getBreakpoint ( url , line ) ; if ( breakpoint ) { this . removeBreakpoint ( breakpoint , null , true ) ; } }
Event handler for breakpoints that are removed from the editor.
Event handler for breakpoints that are removed from the editor .