Alphabetic list: * Debugger::

Class tree:
  (Object) * Debugger::

Debugger
========

Defined in namespace Smalltalk
Superclass: Object
Category: System-Debugging
     I provide debugging facilities for another inferior process.  I have methods that allow the controlled process to proceed with varying granularity.  In addition, I keep a cache mapping instruction pointer bytecodes to line numbers.

Debugger class: disabling debugging
-----------------------------------

debuggerClass
     Answer `nil'.

Debugger class: instance creation
---------------------------------

on: aProcess
     Suspend aProcess and return a new Debugger that controls aProcess. aProcess must not be the currently running process.

Debugger class: source code
---------------------------

currentLineIn: aContext
     Not commented.

Debugger: inferior process properties
-------------------------------------

currentLine
     Return the line number in traced process.

isActive
     Answer true if the inferior process is still running.

process
     Answer the inferior process.

suspendedContext
     Answer the suspended execution state of the inferior process.

Debugger: stepping commands
---------------------------

continue
     Terminate the controlling process and continue execution of the traced process.

finish
     Run to the next return.

finish: aContext
     Run up until aContext returns.

next
     Run to the end of the current line in the inferior process, skipping over message sends.

slowFinish
     Run in single-step mode up to the next return.

slowFinish: aContext
     Run in single-step mode until aContext returns.

step
     Run to the end of the current line in the inferior process or to the next message send.

stepBytecode
     Run a single bytecode in the inferior process.

stopInferior
     Suspend the inferior process and raise a DebuggerReentered notification in the controlling process.

stopInferior: anObject
     Suspend the inferior process and raise a DebuggerReentered notification in the controlling process with anObject as the exception's message.