ScummVM API documentation
Wintermute::DebuggerController Class Reference
Inheritance diagram for Wintermute::DebuggerController:
Wintermute::ScriptMonitor

Public Member Functions

 DebuggerController (WintermuteEngine *vm)
 
Common::Array< TopEntrygetTop () const
 
uint32 getLastLine () const
 
Error addBreakpoint (const char *filename, int line)
 
Error removeBreakpoint (uint id)
 
Error disableBreakpoint (uint id)
 
Error enableBreakpoint (uint id)
 
Error addWatch (const char *filename, const char *symbol)
 
Error removeWatchpoint (uint id)
 
Error disableWatchpoint (uint id)
 
Error enableWatchpoint (uint id)
 
Common::Array< BreakpointInfogetBreakpoints () const
 
Common::Array< WatchInfogetWatchlist () const
 
Error step ()
 step one instruction
 
Error stepContinue ()
 continue execution and don't step until next breakpoint
 
Error stepFinish ()
 continue execution and don't step until the current activation record is popped
 
Common::String readValue (const Common::String &name, Error **error)
 read value for a variable accessible from within the current scope.
 
Error setValue (const Common::String &name, const Common::String &value, ScValue *&var)
 set value for a variable accessible from within the current scope.
 
Error setSourcePath (const Common::Path &sourcePath)
 
Common::Path getSourcePath () const
 
ListinggetListing (Error *&err)
 
void showFps (bool show)
 
void onBreakpoint (const Breakpoint *breakpoint, DebuggableScript *script) override
 
void onWatch (const Watch *watch, DebuggableScript *script) override
 
void notifyStep (DebuggableScript *script) override
 

Member Function Documentation

◆ getLastLine()

uint32 Wintermute::DebuggerController::getLastLine ( ) const

Get the last line # we've stopped at

◆ onBreakpoint()

void Wintermute::DebuggerController::onBreakpoint ( const Breakpoint breakpoint,
DebuggableScript script 
)
overridevirtual

Inherited from ScriptMonitor

Implements Wintermute::ScriptMonitor.


The documentation for this class was generated from the following file: