python调试的时候怎么得到更多的调试信息

python调试的时候怎么得到更多的调试信息

rt

出问题后就给出了所在行的代码,如何得到更详细些的调试信息
试试WinPdb (http://www.digitalpeers.com/pythondebugger/)

Winpdb is a platform independent GPL Python debugger with support for multiple threads, namespace modification, embedded debugging, encrypted communication and is up to 20 times faster than pdb.
看看去,还没见过呢!
python -mpdb file.py