]>
git.r.bdr.sh - rbdr/pico-engine/blob - LuaDebugger.h
61b77f5ac3a0e7af0e5e594b985977d7d06a2d08
1 // ---------------------------------------------------------------------------
2 // FILE NAME : LuaDebugger.h
3 // ---------------------------------------------------------------------------
8 // ---------------------------------------------------------------------------
11 // AUTHOR : Richard Shephard
12 // ---------------------------------------------------------------------------
13 // LIBRARY INCLUDE FILES
14 #ifndef __LUA_DEBUGGER_H__
15 #define __LUA_DEBUGGER_H__
18 #include "LuaVirtualMachine.h"
22 DBG_MASK_CALL
= LUA_MASKCALL
,
23 DBG_MASK_RET
= LUA_MASKRET
,
24 DBG_MASK_LINE
= LUA_MASKLINE
,
25 DBG_MASK_COUNT
= LUA_MASKCOUNT
28 class CLuaVirtualMachine
;
33 CLuaDebugger (CLuaVirtualMachine
& vm
);
34 virtual ~CLuaDebugger (void);
36 void SetHooksFlag (int iMask
);
37 void SetCount (int iCount
) { m_iCountMask
= iCount
; }
39 void ErrorRun (int iErrorCode
);
43 CLuaVirtualMachine
& m_vm
;
47 #endif // __LUA_DEBUGGER_H__