B2G/gecko/browser/devtools/debugger/debugger-view.js
/**
   * Destruction function, called when the debugger is shut down.
   */
Destruction function, called when the debugger is shut down.
Destruction function called when the debugger is shut down .
function DVF_destroy() {
    let close = document.getElementById("close");
    let pauseOnExceptions = document.getElementById("pause-exceptions");
    let resume = DebuggerView._resumeButton;
    let stepOver = DebuggerView._stepOverButton;
    let stepIn = DebuggerView._stepInButton;
    let stepOut = DebuggerView._stepOutButton;
    let frames = DebuggerView._stackframes;
    close.removeEventListener("click", this._onCloseButtonClick, false);
    pauseOnExceptions.removeEventListener("click", this._onPauseExceptionsClick, false);
    resume.removeEventListener("click", this._onResume, false);
    stepOver.removeEventListener("click", this._onStepOver, false);
    stepIn.removeEventListener("click", this._onStepIn, false);
    stepOut.removeEventListener("click", this._onStepOut, false);
    frames.removeEventListener("click", this._onFramesClick, false);
    frames.removeEventListener("scroll", this._onFramesScroll, false);
    window.removeEventListener("resize", this._onFramesScroll, false);
    this.empty();
    this._frames = null;
  }
function DVF_destroy ( ) { let close = document . getElementById ( "close" ) ; let pauseOnExceptions = document . getElementById ( "pause-exceptions" ) ; let resume = DebuggerView . _resumeButton ; let stepOver = DebuggerView . _stepOverButton ; let stepIn = DebuggerView . _stepInButton ; let stepOut = DebuggerView . _stepOutButton ; let frames = DebuggerView . _stackframes ; close . removeEventListener ( "click" , this . _onCloseButtonClick , false ) ; pauseOnExceptions . removeEventListener ( "click" , this . _onPauseExceptionsClick , false ) ; resume . removeEventListener ( "click" , this . _onResume , false ) ; stepOver . removeEventListener ( "click" , this . _onStepOver , false ) ; stepIn . removeEventListener ( "click" , this . _onStepIn , false ) ; stepOut . removeEventListener ( "click" , this . _onStepOut , false ) ; frames . removeEventListener ( "click" , this . _onFramesClick , false ) ; frames . removeEventListener ( "scroll" , this . _onFramesScroll , false ) ; window . removeEventListener ( "resize" , this . _onFramesScroll , false ) ; this . empty ( ) ; this . _frames = null ; }
Destruction function, called when the debugger is shut down.
Destruction function called when the debugger is shut down .