In Java/C# you can easily step through code to trace what might be going wrong, and IDE\'s make this process very user friendly.
Can you trace through python code in
Programmatically stepping and tracing through python code is possible too (and its easy!). Look at the sys.settrace() documentation for more details. Also here is a tutorial to get you started.