B2G/gecko/browser/devtools/debugger/debugger-view.js
/**
   * Initialization function, called when the debugger is initialized.
   */
Initialization function, called when the debugger is initialized.
Initialization function called when the debugger is initialized .
function DVF_initialize() {
    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.addEventListener("click", this._onCloseButtonClick, false);
    pauseOnExceptions.checked = DebuggerController.StackFrames.pauseOnExceptions;
    pauseOnExceptions.addEventListener("click", this._onPauseExceptionsClick, false);
    resume.addEventListener("click", this._onResume, false);
    stepOver.addEventListener("click", this._onStepOver, false);
    stepIn.addEventListener("click", this._onStepIn, false);
    stepOut.addEventListener("click", this._onStepOut, false);
    frames.addEventListener("click", this._onFramesClick, false);
    frames.addEventListener("scroll", this._onFramesScroll, false);
    window.addEventListener("resize", this._onFramesScroll, false);
    this._frames = frames;
    this.emptyText();
  }
function DVF_initialize ( ) { 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 . addEventListener ( "click" , this . _onCloseButtonClick , false ) ; pauseOnExceptions . checked = DebuggerController . StackFrames . pauseOnExceptions ; pauseOnExceptions . addEventListener ( "click" , this . _onPauseExceptionsClick , false ) ; resume . addEventListener ( "click" , this . _onResume , false ) ; stepOver . addEventListener ( "click" , this . _onStepOver , false ) ; stepIn . addEventListener ( "click" , this . _onStepIn , false ) ; stepOut . addEventListener ( "click" , this . _onStepOut , false ) ; frames . addEventListener ( "click" , this . _onFramesClick , false ) ; frames . addEventListener ( "scroll" , this . _onFramesScroll , false ) ; window . addEventListener ( "resize" , this . _onFramesScroll , false ) ; this . _frames = frames ; this . emptyText ( ) ; }
Initialization function, called when the debugger is initialized.
Initialization function called when the debugger is initialized .