Public Methods |
|
const void* | getCodePointer (int nModule,unsigned long nAddr)const |
|
| VirtualMachineImp (VirtualMachine &vm) |
|
| ~VirtualMachineImp () |
| void | setProgram (ObjectFile *pFile) |
| | Associate a VM program with the VirtualMachine. More...
|
| const ObjectFile* | getProgram ()const throw () |
| | Get the associated program. More...
|
|
Object* | getGlobalObject (const string &sName)const throw () |
| | Associate a scene.
|
|
void | setGlobalObject (const string &sName,Object *pObject) throw () |
|
void | run () |
|
void | setTrapHandler (int trap,TrapHandler *pTrapHandler) throw () |
|
TrapHandler* | getTrapHandler (int trap)const throw () |
| virtual void | setDebugger (Debugger *pDebugger) throw () |
| | Set a custom debugger to watch and debug program execution. More...
|
|
virtual Debugger* | getDebugger ()const throw () |
| | Get the currently installed debugger.
|
|
virtual int | getModuleCount ()const |
|
virtual void | getModuleDescription (int nIndex,ModuleDescription &md)const |
|
virtual long | getStackSize ()const |
|
virtual void | getStackItem (int nIndex,string &sType,string &sValue)const |
|
virtual long | getBasePointer ()const |
| virtual long | getDisassembly (int nModule,long nCodeAddr,string &sDisassembly,long &nSourceLine)const |
|
virtual void | setExecutionMode (ExecutionMode eMode) |
|
virtual unsigned long | getProgramCounter (int *pnModule=NULL)const throw () |
|
virtual void | go () |
|
virtual void | step () |