Haka
debugger.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 
5 #ifndef LUADEBUG_DEBUGGER_H
6 #define LUADEBUG_DEBUGGER_H
7 
8 #include <haka/types.h>
9 
10 struct lua_State;
11 struct luadebug_user;
12 
13 void luadebug_debugger_user(struct luadebug_user *user);
14 bool luadebug_debugger_start(struct lua_State *L, bool break_immediatly);
15 void luadebug_debugger_stop(struct lua_State *L);
16 bool luadebug_debugger_break(struct lua_State *L);
17 bool luadebug_debugger_interrupt(struct lua_State *L, const char *reason);
18 bool luadebug_debugger_breakall();
19 bool luadebug_debugger_shutdown();
20 
21 #endif /* LUADEBUG_DEBUGGER_H */