ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::DebuggerController Class Reference

#include <debugger_controller.h>

Inheritance diagram for Wintermute::DebuggerController:
Collaboration diagram for Wintermute::DebuggerController:

List of all members.

Public Member Functions

 DebuggerController (WintermuteEngine *vm)
 ~DebuggerController () override
Common::Array< TopEntrygetTop () const
uint32 getLastLine () const
 Get the last line # we've stopped at.
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::String &sourcePath)
Common::String getSourcePath () const
ListinggetListing (Error *&err)
void showFps (bool show)
void onBreakpoint (const Breakpoint *breakpoint, DebuggableScript *script) override
 Inherited from ScriptMonitor.
void onWatch (const Watch *watch, DebuggableScript *script) override
void notifyStep (DebuggableScript *script) override

Private Member Functions

void clear ()
bool bytecodeExists (const Common::String &filename)

Private Attributes

SourceListingProvider_sourceListingProvider
const WintermuteEngine_engine
DebuggableScript_lastScript
uint32 _lastLine

Detailed Description

Definition at line 60 of file debugger_controller.h.


Constructor & Destructor Documentation

Wintermute::DebuggerController::DebuggerController ( WintermuteEngine vm  ) 

Definition at line 48 of file debugger_controller.cpp.

Wintermute::DebuggerController::~DebuggerController (  )  [override]

Definition at line 44 of file debugger_controller.cpp.


Member Function Documentation

Error Wintermute::DebuggerController::addBreakpoint ( const char *  filename,
int  line 
)

Definition at line 63 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::addWatch ( const char *  filename,
const char *  symbol 
)

Definition at line 135 of file debugger_controller.cpp.

bool Wintermute::DebuggerController::bytecodeExists ( const Common::String filename  )  [private]

Definition at line 53 of file debugger_controller.cpp.

void Wintermute::DebuggerController::clear (  )  [private]

Definition at line 189 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::disableBreakpoint ( uint  id  ) 

Definition at line 83 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::disableWatchpoint ( uint  id  ) 

Definition at line 114 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::enableBreakpoint ( uint  id  ) 

Definition at line 93 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::enableWatchpoint ( uint  id  ) 

Definition at line 124 of file debugger_controller.cpp.

Common::Array< BreakpointInfo > Wintermute::DebuggerController::getBreakpoints (  )  const

Definition at line 263 of file debugger_controller.cpp.

uint32 Wintermute::DebuggerController::getLastLine (  )  const

Get the last line # we've stopped at.

Definition at line 288 of file debugger_controller.cpp.

Listing * Wintermute::DebuggerController::getListing ( Error *&  err  ) 

Definition at line 301 of file debugger_controller.cpp.

Common::String Wintermute::DebuggerController::getSourcePath (  )  const

Definition at line 292 of file debugger_controller.cpp.

Common::Array< TopEntry > Wintermute::DebuggerController::getTop (  )  const

Definition at line 313 of file debugger_controller.cpp.

Common::Array< WatchInfo > Wintermute::DebuggerController::getWatchlist (  )  const

Definition at line 277 of file debugger_controller.cpp.

void Wintermute::DebuggerController::notifyStep ( DebuggableScript script  )  [override, virtual]

Implements Wintermute::ScriptMonitor.

Definition at line 150 of file debugger_controller.cpp.

void Wintermute::DebuggerController::onBreakpoint ( const Breakpoint breakpoint,
DebuggableScript script 
) [override, virtual]

Inherited from ScriptMonitor.

Implements Wintermute::ScriptMonitor.

Definition at line 144 of file debugger_controller.cpp.

void Wintermute::DebuggerController::onWatch ( const Watch watch,
DebuggableScript script 
) [override, virtual]

Implements Wintermute::ScriptMonitor.

Definition at line 156 of file debugger_controller.cpp.

Common::String Wintermute::DebuggerController::readValue ( const Common::String name,
Error error 
)

read value for a variable accessible from within the current scope.

Definition at line 194 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::removeBreakpoint ( uint  id  ) 

Definition at line 73 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::removeWatchpoint ( uint  id  ) 

Definition at line 103 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::setSourcePath ( const Common::String sourcePath  ) 

Definition at line 296 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::setValue ( const Common::String name,
const Common::String value,
ScValue *&  var 
)

set value for a variable accessible from within the current scope.

Definition at line 206 of file debugger_controller.cpp.

void Wintermute::DebuggerController::showFps ( bool  show  ) 

Definition at line 259 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::step (  ) 

step one instruction

Definition at line 163 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::stepContinue (  ) 

continue execution and don't step until next breakpoint

Definition at line 172 of file debugger_controller.cpp.

Error Wintermute::DebuggerController::stepFinish (  ) 

continue execution and don't step until the current activation record is popped

Definition at line 180 of file debugger_controller.cpp.


Member Data Documentation


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


Generated on Sat Sep 26 2020 05:04:15 for ResidualVM by doxygen 1.7.1
curved edge   curved edge