我想学习winpdb来调试django脚本。我有一个非常简单 Django的运行发现,如果我在命令行启动它,但网站时,我尝试从winpdb它给了我这个错误消息启动它:WinPdb错误(调试Django):CTimeoutHTTP实例没有属性'getresponse'
RPDB2 - The Remote Python Debugger, version RPDB_2_4_6,
Copyright (C) 2005-2009 Nir Aides.
Type "help", "copyright", "license", "credits" for more information.
*** NEW: Use CTRL-N for auto completion in the following commands: launch,
*** eval and exec.
*** Password has been set to a random password.
*** Starting debuggee...
*** Command returned the following error:
*** <type 'exceptions.AttributeError'>, CTimeoutHTTP instance has no
*** attribute 'getresponse'.
*** Please check stderr for stack trace and report to support.
*** Failed to find script.
我甚知道从哪里开始解决这个问题。它CTimeoutHTTP看起来像一个MFC的东西。我使用ANSI版本安装了wxpython,然后当它投诉时,我安装了unicode版本(不删除ANSI版本)。这是我能想到的唯一不寻常的事情。任何帮助,将不胜感激。
我应该说,在Windows XP上运行。
哦,我的天啊,非常感谢你。 rpdb2控制台功能...但不完全符合人体工程学。 – badp 2013-12-09 17:35:18