Capt_Blondbeard
Chieftain
I'm still pretty much of a beginner with python for civ 4, but most of my errors seem to be "civ 4" function related, not problems with python logic (ie: infinite loops, etc.) IDLE has a function to check for python errors, but this doesn't help with "civ 4" errors.
Is there way to, for example step through python functions in a game, or some other way to debug, other than trial and error?
My current problem - working through the TC01 tutorial, importing stuff from a newly created file - causes the whole interface to crash. Changing one line at a time in each file, saving, running the game, having it not work, not knowing what which line of which file is causing the problem, trial and error is damn tedious - is there a better way to zero in on what is causing the problem??

Is there way to, for example step through python functions in a game, or some other way to debug, other than trial and error?
My current problem - working through the TC01 tutorial, importing stuff from a newly created file - causes the whole interface to crash. Changing one line at a time in each file, saving, running the game, having it not work, not knowing what which line of which file is causing the problem, trial and error is damn tedious - is there a better way to zero in on what is causing the problem??
