B2G/gecko/browser/devtools/debugger/debugger-view.js
/**
   * Listener handling the "deleteSelf" menuitem command.
   *
   * @param object aTarget
   *        The corresponding breakpoint element.
   */
Listener handling the "deleteSelf" menuitem command.
@param object aTarget
The corresponding breakpoint element.
Listener handling the " deleteSelf " menuitem command . @param object aTarget The corresponding breakpoint element .
function DVB__onDeleteSelf(aTarget) {
    let { breakpointUrl: url, breakpointLine: line } = aTarget;
    let breakpoint = DebuggerController.Breakpoints.getBreakpoint(url, line)
    if (aTarget) {
      this.removeBreakpoint(aTarget.breakpointActor);
    }
    if (breakpoint) {
      DebuggerController.Breakpoints.removeBreakpoint(breakpoint);
    }
  }
function DVB__onDeleteSelf ( aTarget ) { let { breakpointUrl : url , breakpointLine : line } = aTarget ; let breakpoint = DebuggerController . Breakpoints . getBreakpoint ( url , line ) if ( aTarget ) { this . removeBreakpoint ( aTarget . breakpointActor ) ; } if ( breakpoint ) { DebuggerController . Breakpoints . removeBreakpoint ( breakpoint ) ; } }
Listener handling the "deleteSelf" menuitem command.
Listener handling the " deleteSelf " menuitem command .