无法跨越/步入Eclipse pydev

时间:2015-11-03 06:09:49

标签: python eclipse pydev

我目前在使用Eclipse和pydev时遇到了麻烦。我在我的代码中设置了这个:

import pydevd;pydevd.settrace();

我启动并运行了调试服务器。

当我运行我的应用程序时,我可以看到它已停止运行,因为我在那里设置了远程调试器。但是当我切换回eclipse时,我无法点击跳过或进入按钮。它目前已被禁用。

我已经增加了pydev中的日志级别,并且根据日志,它似乎可以成功连接到调试服务器:

2015-11-03T14:04:22+08:00 sawebserver-uwsgi@127.0.0.1 [info] ('Connecting to ', '127.0.0.1', ':', '5678')
2015-11-03T14:04:22+08:00 sawebserver-uwsgi@127.0.0.1 [info] ('Connected.',)
2015-11-03T14:04:23+08:00 sawebserver-uwsgi@127.0.0.1 [info] Received command: CMD_VERSION 501  1   1.1 UNIX    ID
2015-11-03T14:04:23+08:00 sawebserver-uwsgi@127.0.0.1 [info] Received command: CMD_SET_PY_EXCEPTION 131 3   false;false;false;true;
2015-11-03T14:04:23+08:00 sawebserver-uwsgi@127.0.0.1 [info] Received command: CMD_SET_PROPERTY_TRACE 133   5   
2015-11-03T14:04:24+08:00 sawebserver-uwsgi@127.0.0.1 [info] Received command: CMD_IGNORE_THROWN_EXCEPTION_AT 140   7   REPLACE:
2015-11-03T14:04:24+08:00 sawebserver-uwsgi@127.0.0.1 [info] Received command: CMD_REMOVE_DJANGO_EXCEPTION_BREAK 126    9   DjangoExceptionBreak
2015-11-03T14:04:24+08:00 sawebserver-uwsgi@127.0.0.1 [info] Received command: CMD_ENABLE_DONT_TRACE 141    11  true
2015-11-03T14:04:24+08:00 sawebserver-uwsgi@127.0.0.1 [info] Received command: CMD_RUN 101  13  

我执行了netstat,端口似乎可用:

tcp6       0      0 :::5678                 :::*                    LISTEN

有什么我错过的吗?

1 个答案:

答案 0 :(得分:0)

尝试远离堆栈框架并将其更改为堆栈框架。