B2G/gecko/browser/devtools/debugger/debugger-controller.js
/**
   * Handler for the thread client's paused notification.
   *
   * @param string aEvent
   *        The name of the notification ("paused" in this case).
   * @param object aPacket
   *        The response packet.
   */
Handler for the thread client's paused notification.
@param string aEvent
The name of the notification ("paused" in this case).
@param object aPacket
The response packet.
Handler for the thread client ' s paused notification . @param string aEvent The name of the notification ( " paused " in this case ) . @param object aPacket The response packet .
function SF__onPaused(aEvent, aPacket) {
    if (aPacket.why.type == "exception") {
      this.exception = aPacket.why.exception;
    }
    this.activeThread.fillFrames(this.pageSize);
    DebuggerView.editor.focus();
  }
function SF__onPaused ( aEvent , aPacket ) { if ( aPacket . why . type == "exception" ) { this . exception = aPacket . why . exception ; } this . activeThread . fillFrames ( this . pageSize ) ; DebuggerView . editor . focus ( ) ; }
Handler for the thread client's paused notification.
Handler for the thread client ' s paused notification .
// In case the pause was caused by an exception, store the exception value.