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