简体   繁体   中英

PyDev can't debug anymore

I'm using eclipse 4.2.1 and pydev 2.7.1 (previously 2.6.0)

Everything was working fine, until suddenly the debugger stopped working - it prints "pydev debugger: starting" and then doesn't run the program at all, but just hangs.

Based on some information I found in other problem reports, I changed some debug constants (DEBUG_TRACE_LEVEL = 3 and DEBUG_TRACE_BREAKPOINTS = 3) and got this output now:

pydev debugger: starting
('Executing file ', '/path/to/my/program.py')
('arguments:', "['/path/to/my/program.py']")
('Connecting to ', '127.0.0.1', ':', '40972')
('Connected.',)
('received command ', '501\t1\t1.1')
sending cmd: CMD_VERSION 501    1   1.1

sending cmd: CMD_THREAD_CREATE 103  2   <xml><thread name="pydevd.reader" id="-1"/></xml>

sending cmd: CMD_THREAD_CREATE 103  4   <xml><thread name="pydevd.writer" id="-1"/></xml>

Nothing happens afterwards.

Edit: I created a new workspace and pydev seems to work there. Currently trying to find out which metadata folder is causing the problem.

我发现从工作区中删除 .metadata/.plugins/org.eclipse.core.resources 可以解决问题..但它也删除了所有项目,所以我不得不重新导入它们。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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