简体   繁体   English

无法进入/进入Eclipse pydev

[英]Unable to step over/step into in Eclipse pydev

I'm currently having a trouble with Eclipse and pydev. 我目前在Eclipse和pydev上遇到麻烦。 I have set this in my code : 我已经在我的代码中设置了:

import pydevd;pydevd.settrace();

And I have my debug server up and running. 我已经调试服务器启动并运行。

When I run my application, I can see it stopped running since I setup remote debugger there. 运行我的应用程序时,我可以看到它停止运行,因为在那儿设置了远程调试器。 However when I switch back to eclipse, I'm unable to click step over or step into button. 但是,当我切换回Eclipse时,无法单击“越过”或“进入”按钮。 It is currently disabled. 当前已禁用。

I have increased the log level in pydev and based on the log, it seems it can connect to the debug server successfully : 我增加了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  

I performed netstat and the port seems to be available : 我执行了netstat,该端口似乎可用:

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

Is there anything that I have missed? 有什么我想念的吗?

尝试将选择范围更改为远离堆叠框架并返回堆叠框架。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM