View Full Version : Getting runtime error source


Moriboe
Jan 21, 2012, 03:08 PM
If I check Lua.log errors come up like this:

[44453.764] Runtime Error: [string "C:\Users\MyName\Documents\My Games\Sid Meier'..."]:22: attempt to index field 'gPlayers' (a nil value)

The problem being that it hides the info from which file the error was thrown. It used to be obvious in my case, but now it's getting annoying. Any way to get access to the full file path? Or maybe some better way altogether for debugging?