Debugging Crashes

doktorstick

Warlord
Joined
Aug 20, 2008
Messages
142
Howdy. I have a problem where Civ5 crashes with my mod enabled. I have instrumented my code that outputs funcalls entry/exit, and the LiveTuner shows that it isn't in my code when it crashes... (unless, the data is buffered and it crashes before the flush happens)...

Any suggestions or techniques ya'll have learned in this development environment?
 
Add a ton of "print"s. Event better, use alpaca's lib.lua file (in his DiploCorner thread) and use "aprint". Even if it looks like it is not your code, the game lists the file calling a function rather than the file where a function is physically located.
 
Back
Top Bottom