eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MiniDebugger':

Home

everywhere
www.exept.de
for:
[back]

Class: MiniDebugger


Inheritance:

   Object
   |
   +--MiniDebugger

Package:
stx:libbasic
Category:
System-Debugging-Support
Version:
rev: 1.77 date: 2009/02/13 11:40:39
user: cg
file: MiniDebugger.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

Description:


a primitive (non graphical) debugger for use on systems without
graphics or when the real debugger dies (i.e. an error occurs in
the graphical debugger).
Also, if an interrupt occurs within the debuger, this one is called
for.


Class protocol:

instance creation
o  enter
enter a miniDebugger

o  enter: aContext withMessage: aString mayProceed: mayProceed
enter a miniDebugger

o  enterException: ex
enter a debugger; if this is a recursive invocation, enter
a MiniDebugger instead.
This is the standard way of entering the debugger;
sent from error- and halt messages.

o  enterWithMessage: aString mayProceed: mayProceed
enter a miniDebugger

o  new
redefined to make certain that there is only one miniDebugger
in the system

o  openOn: aProcess
enter a miniDebugger

o  singleStep: aBlock

o  trace: aBlock

o  trace: aBlock on: aStream

o  trace: aBlock with: aTraceBlock


Instance protocol:

initialization
o  initialize

interrupt handling
o  enter: aContext mayProceed: mayProceed

o  stepInterrupt

private
o  findContext: aSelector

o  garbageCollectCommand: id

o  getContext

o  moveDotDown
sigh - must search

o  moveDotUp

o  printBacktraceFrom: aContext

o  printDot

o  printDotsMethodSource

o  stepping

o  tracingWith: aBlockOrNil

user commands
o  commandLoop

o  doAbort

o  getCommand: prompt
Screen notNil ifTrue:[

o  interpreterLoopWith: anObject

o  printAllBacktraces

o  showProcesses

o  showValidCommandHelp



ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 20:06:21 GMT