|  | Things usually go wrong when you program... | 
|  | Errors in C normally shows up as ``segmentation faults'' or ``bus error'' - no nice exception with traceback | 
|  | Simple trick: run python under a debugger 
unix> gdb `which python`
(gdb) run test.py
 | 
|  | When the script crashes, issue the gdb command where for a traceback (if the extension module is compiled with -g you can see the line number of the line that triggered the error) | 
|  | You can only see the traceback, no breakpoints, prints etc., but a tool, PyDebug, allows you to do this |