Debugger class

A runtime debugger for Z-Machine.

Mixed-in types

Constructors

Debugger()

Properties

hashCode int
The hash code for this object.
no setterinherited
log Logger
Gets the log for output.
no setterinherited
logName String
Sets the logger and name for this Loggable mixin instance.
no getterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

debugStartAddr int?
getter/setter pair
enableDebug bool
getter/setter pair
enableStackTrace bool
getter/setter pair
enableTrace bool
getter/setter pair
enableVerbose bool
getter/setter pair
instructionCounter int
getter/setter pair
isUnitTestRun bool
This flag is meant to alert the game engine that it is being run for unit testing purposes, but is currently not supported.
getter/setter pair

Static Methods

crashReport() String
debug(String debugString) → void
Debug Channel
disableAll() → void
dumpHeader() String
dumpLocals() String
enableAll() → void
initializeEngine([Engine? newEngine]) → void
Selects the best suited Engine version for the game file. will also accept optional newEngine which will be used to run the game (throws a GameException if newEngine version and game version do not match).
isBreakPoint(int addr) bool
setBreaks(dynamic breakPoints) → void
startBreak() Future<void>
todo([String? message]) → void
verbose(String outString) → void
Verbose Channel (via Debug)