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

#include <debuggable_script.h>

Inheritance diagram for Wintermute::DebuggableScript:
Collaboration diagram for Wintermute::DebuggableScript:

List of all members.

Public Member Functions

 DebuggableScript (BaseGame *inGame, DebuggableScEngine *engine)
 ~DebuggableScript () override
ScValueresolveName (const Common::String &name)
virtual uint dbgGetLine () const
 Return argument to last II_DBG_LINE encountered.
virtual Common::String dbgGetFilename () const
void step ()
 Execute one more instruction.
void stepContinue ()
 Continue execution.
void stepFinish ()
 Continue execution until the activation record on top of the stack is popped.
void updateWatches ()

Private Member Functions

void preInstHook (uint32 inst) override
void postInstHook (uint32 inst) override
void setStepDepth (int depth)

Private Attributes

int32 _stepDepth
DebuggableScEngine_engine
BaseArray< WatchInstance * > _watchInstances

Static Private Attributes

static const int kDefaultStepDepth = -2

Detailed Description

Definition at line 33 of file debuggable_script.h.


Constructor & Destructor Documentation

Wintermute::DebuggableScript::DebuggableScript ( BaseGame inGame,
DebuggableScEngine engine 
)

Definition at line 27 of file debuggable_script.cpp.

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

Definition at line 34 of file debuggable_script.cpp.


Member Function Documentation

Common::String Wintermute::DebuggableScript::dbgGetFilename (  )  const [virtual]

Definition at line 116 of file debuggable_script.cpp.

uint Wintermute::DebuggableScript::dbgGetLine (  )  const [virtual]

Return argument to last II_DBG_LINE encountered.

Definition at line 112 of file debuggable_script.cpp.

void Wintermute::DebuggableScript::postInstHook ( uint32  inst  )  [override, private, virtual]

Reimplemented from Wintermute::ScScript.

Definition at line 42 of file debuggable_script.cpp.

void Wintermute::DebuggableScript::preInstHook ( uint32  inst  )  [override, private, virtual]

Reimplemented from Wintermute::ScScript.

Definition at line 40 of file debuggable_script.cpp.

ScValue * Wintermute::DebuggableScript::resolveName ( const Common::String name  ) 

Definition at line 76 of file debuggable_script.cpp.

void Wintermute::DebuggableScript::setStepDepth ( int  depth  )  [private]

Definition at line 59 of file debuggable_script.cpp.

void Wintermute::DebuggableScript::step (  ) 

Execute one more instruction.

Definition at line 63 of file debuggable_script.cpp.

void Wintermute::DebuggableScript::stepContinue (  ) 

Continue execution.

Definition at line 68 of file debuggable_script.cpp.

void Wintermute::DebuggableScript::stepFinish (  ) 

Continue execution until the activation record on top of the stack is popped.

Definition at line 72 of file debuggable_script.cpp.

void Wintermute::DebuggableScript::updateWatches (  ) 

Definition at line 120 of file debuggable_script.cpp.


Member Data Documentation

Reimplemented from Wintermute::ScScript.

Definition at line 36 of file debuggable_script.h.

const int Wintermute::DebuggableScript::kDefaultStepDepth = -2 [static, private]

Definition at line 34 of file debuggable_script.h.


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