Eclipse PyDev Breakpoints Show an Different Icon and Don't Work

£可爱£侵袭症+ 提交于 2019-12-11 10:18:08

问题


Breakpoints have been working for me for many weeks, but yesterday they stopped working. When I create a breakpoint icon shown is not the usual magnifying glass, but instead is the magnifying glass with a line through it.

I tried the suggestions in pydev breakpoints not working

E.g.

import sys
print 'current trace function', sys.gettrace()

which reports "current trace function main.PyDB object at 0x101416090>> "

I tried accessing breakpoints in another Python project and the breakpoints there have the same problem. Restarting Eclipse, the Mac and reinstalling PyDev had no effect.

I tried installing PyDev in another Eclipse installation on my Mac and breakpoints in Python work find there.

Any ideas, anyone?


回答1:


screenshot should be like this:

That is because you have enable "skip all breakpoints" in Eclipse, show it here:

Also useful info:

skip all breakpoints in eclipse

different breakpoints annotations meanings in eclipse

another alias question:eclipse-pydev-breakpoint-does-not-stop-and-show-a-different-icon




回答2:


If it shows a line through it, you probably clicked the 'skip all breakpoints' in the breakpoints view... in which case it'd be a matter of clicking that option again?

If that's not it, please post a screenshot and take a look at your error log for something related...



来源:https://stackoverflow.com/questions/16851290/eclipse-pydev-breakpoint-does-not-stop-and-show-a-different-icon

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!