Lines Matching refs:ar
52 void luaLdbLineHook(lua_State *lua, lua_Debug *ar);
1182 void luaMaskCountHook(lua_State *lua, lua_Debug *ar) { in luaMaskCountHook() argument
1184 UNUSED(ar); in luaMaskCountHook()
2037 lua_Debug ar; in ldbPrint() local
2040 while (lua_getstack(lua,l,&ar) != 0) { in ldbPrint()
2044 while((name = lua_getlocal(lua,&ar,i)) != NULL) { in ldbPrint()
2069 lua_Debug ar; in ldbPrintAll() local
2072 if (lua_getstack(lua,0,&ar) != 0) { in ldbPrintAll()
2075 while((name = lua_getlocal(lua,&ar,i)) != NULL) { in ldbPrintAll()
2189 lua_Debug ar; in ldbTrace() local
2192 while(lua_getstack(lua,level,&ar)) { in ldbTrace()
2193 lua_getinfo(lua,"Snl",&ar); in ldbTrace()
2194 if(strstr(ar.short_src,"user_script") != NULL) { in ldbTrace()
2197 ar.name ? ar.name : "top level")); in ldbTrace()
2198 ldbLogSourceLine(ar.currentline); in ldbTrace()
2343 void luaLdbLineHook(lua_State *lua, lua_Debug *ar) { in luaLdbLineHook() argument
2344 lua_getstack(lua,0,ar); in luaLdbLineHook()
2345 lua_getinfo(lua,"Sl",ar); in luaLdbLineHook()
2346 ldb.currentline = ar->currentline; in luaLdbLineHook()
2352 if(strstr(ar->short_src,"user_script") == NULL) return; in luaLdbLineHook()
2355 if (ar->event == LUA_HOOKCOUNT && ldb.step == 0 && bp == 0) { in luaLdbLineHook()