]>
git.r.bdr.sh - rbdr/pico-engine/blob - LuaDebugger.h
a4c764e61edfa87160df5c4958f06ec9a35baf9a
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__