Page 1 of 1

Lua complet stack trace

Posted: 13 Apr 2008, 22:53
by Satirik
it would be cool to get a lua stack trace with the last 30 function called

because most of the time spring crash because of lua and i get something like that :
LuaUI::RunCallIn: error = 2, Update, [string "LuaUI/widgets.lua"]:703: attempt to index field '?' (a nil value)
LuaUI::RunCallIn: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:210: attempt to get length of local 't' (a nil value)
LuaUI::RunCallIn: error = 2, DrawScreenEffects, [string "LuaUI/widgets.lua"]:210: attempt to get length of local 't' (a nil value)
LuaUI::RunCallIn: error = 2, Update, [string "LuaUI/widgets.lua"]:703: attempt to index field '?' (a nil value)

Re: Lua complet stack trace

Posted: 14 Apr 2008, 00:54
by jK
erm the errors you get are STACK corruption errors

Re: Lua complet stack trace

Posted: 14 Apr 2008, 01:51
by Satirik
jK wrote:erm the errors you get are STACK corruption errors
and ?

Re: Lua complet stack trace

Posted: 17 Apr 2008, 19:01
by tombom
Satirik wrote:
jK wrote:erm the errors you get are STACK corruption errors
and ?
They corrupt the stack so you can't get a trace :?