我在netbeanside下调试Python程序时遇到了一个问题。当我开始调试时,调试器将写入以下日志和错误。谢谢你的帮助。在
[LOG]PythonDebugger : overall Starting >>>[LOG]PythonDebugger.taskStarted : I am Starting a new Debugging Session ... [LOG]This window is an interactive debugging context aware Python Shell [LOG]where you can enter python console commands while debugging >>>c:\documents and settings\aster\.netbeans\6.7\config\nbpython\debug\nbpythondebug\jpydaemon.py args = ['C:\\Documents and Settings\\aster\\.netbeans\\6.7\\config\\nbPython\\debug\\nbpythondebug\\jpydaemon.py', 'localhost', '11111'] localDebuggee= None JPyDbg connecting localhost on in= 11111 /out= 11112 ERROR:JPyDbg connection failed errno(10061) : Connection refused Debug session normal end ERROR :: Server Socket listen for debuggee has timed out (more than 20 seconds wait) java.net.SocketTimeoutException: Accept timed out
谢谢你的回答
对于Python,我喜欢Wingware的wingede。在
我昨天刚为NetBeans安装了Python,但没有尝试过调试器,所以就尝试了一下,结果得到了同样的错误。所以我想可能是防火墙的问题,把我的防火墙关闭了,然后再试了一次,结果就成功了。在
但是我重新启动了防火墙,现在它还在工作,所以我不知道。我看到Python的Netbeans选项有一个输入来指定起始侦听端口(我的端口是29000,而不是像您的11111)。在
相关问题 更多 >
编程相关推荐