View Full Version : Python debugging


theSeby
Feb 11, 2006, 08:57 AM
I'm new with python modding, and I find quite anoying when something goes wrong without knowing what.
How can I have some in-game or file log where I can see what/where is the problem, which exception has been catch ... ?
I haven't found anything which can help me to perform this in tutorials, but I think modders use some sort of python log/debug.

Thanks !

The Great Apple
Feb 11, 2006, 09:13 AM
http://forums.civfanatics.com/showpost.php?p=3579837&postcount=5

theSeby
Feb 11, 2006, 09:58 AM
Thanks TGA ! Just what I've needed !
A great tutorial you've made !

surt
Feb 11, 2006, 11:14 AM
http://forums.civfanatics.com/showpost.php?p=3579837&postcount=5

Have you used the HapDebugger at all .. it can be quite helpful as well, though it is probably aimed at more experienced programmers. But it does give you functioning breakpoint and variable inspection, which can be quite helpful as well.