debug step mode

This commit is contained in:
Cloud Wu
2015-02-11 14:18:47 +08:00
parent e031a35330
commit 8792a40845
7 changed files with 436 additions and 80 deletions

View File

@@ -160,6 +160,7 @@ struct lua_State {
struct lua_State *twups; /* list of threads with open upvalues */
struct lua_longjmp *errorJmp; /* current error recover point */
CallInfo base_ci; /* CallInfo for first level (C calling Lua) */
CallInfo temp_ci; /* CallInfo for yield from hook (debug api use) */
lua_Hook hook;
ptrdiff_t errfunc; /* current error handling function (stack index) */
int stacksize;