Lua complet stack trace

Lua complet stack trace

Requests for features in the spring code.

Moderator: Moderators

Post Reply
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Lua complet stack trace

Post 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)
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Lua complet stack trace

Post by jK »

erm the errors you get are STACK corruption errors
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: Lua complet stack trace

Post by Satirik »

jK wrote:erm the errors you get are STACK corruption errors
and ?
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Re: Lua complet stack trace

Post 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 :?
Post Reply

Return to “Feature Requests”