1
0

debugapi.h 807 B

12345678910111213141516171819202122232425262728
  1. #ifndef __MAKIDEBUGAPI_H
  2. #define __MAKIDEBUGAPI_H
  3. #include <api/script/debugger/api_makidebug.h>
  4. #include <api/script/debugger/vcpudebug.h>
  5. class MakiDebuggerApi : public api_makiDebuggerI {
  6. public:
  7. MakiDebuggerApi();
  8. virtual ~MakiDebuggerApi();
  9. virtual void debugger_trace();
  10. virtual int debugger_isActive();
  11. virtual int debugger_getVIP();
  12. virtual int debugger_getVSD();
  13. virtual int debugger_getVCC();
  14. virtual int debugger_getVSP();
  15. virtual int debugger_filterEvent(int vcpuid, int eventid);
  16. virtual void debugger_eventComplete();
  17. virtual MakiJITD *debugger_createJITD(int vcpuid, int bringitup=1);
  18. virtual scriptVar debugger_readStack(int n);
  19. virtual const char *debugger_getCodeBlock(int vcpuid);
  20. private:
  21. VCPUDebugger debugger;
  22. };
  23. #endif