diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-18 14:10:43 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-18 14:10:43 -0300 |
commit | 6ee2dbdfe94e55cc098646df6aaee0483b5fff2c (patch) | |
tree | aa100b536448ff9104314b59f1ef3d7875706aa1 /luadebug.h | |
parent | 1dbe708aa84f3a1e51daf8d7e2f714e2b02f554b (diff) | |
download | lua-6ee2dbdfe94e55cc098646df6aaee0483b5fff2c.tar.gz lua-6ee2dbdfe94e55cc098646df6aaee0483b5fff2c.tar.bz2 lua-6ee2dbdfe94e55cc098646df6aaee0483b5fff2c.zip |
traceback stops at first protected call
Diffstat (limited to 'luadebug.h')
-rw-r--r-- | luadebug.h | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luadebug.h,v 1.26 2002/03/14 16:50:06 roberto Exp roberto $ | 2 | ** $Id: luadebug.h,v 1.27 2002/04/04 17:21:31 roberto Exp roberto $ |
3 | ** Debugging API | 3 | ** Debugging API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -28,14 +28,15 @@ LUA_API lua_Hook lua_setlinehook (lua_State *L, lua_Hook func); | |||
28 | #define LUA_IDSIZE 60 | 28 | #define LUA_IDSIZE 60 |
29 | 29 | ||
30 | struct lua_Debug { | 30 | struct lua_Debug { |
31 | const char *event; /* `call', `return', `line' */ | 31 | const char *event; /* `call', `return', `line' */ |
32 | const char *name; /* (n) */ | 32 | const char *name; /* (n) */ |
33 | const char *namewhat; /* (n) `global', `local', `field', `method' */ | 33 | const char *namewhat; /* (n) `global', `local', `field', `method' */ |
34 | const char *what; /* (S) `Lua' function, `C' function, Lua `main' */ | 34 | const char *what; /* (S) `Lua' function, `C' function, Lua `main' */ |
35 | const char *source; /* (S) */ | 35 | const char *source; /* (S) */ |
36 | int currentline; /* (l) */ | 36 | int currentline; /* (l) */ |
37 | int nups; /* (u) number of upvalues */ | 37 | int isprotected; /* (c) function was called in protected mode */ |
38 | int linedefined; /* (S) */ | 38 | int nups; /* (u) number of upvalues */ |
39 | int linedefined; /* (S) */ | ||
39 | char short_src[LUA_IDSIZE]; /* (S) */ | 40 | char short_src[LUA_IDSIZE]; /* (S) */ |
40 | /* private part */ | 41 | /* private part */ |
41 | int i_ci; /* active function */ | 42 | int i_ci; /* active function */ |