如何从已删除的文件中删除 PyDev 调试器断点?
每当我从 PyDev 启动调试器时,它都会抱怨不再存在的文件上的断点:
pydev debugger: warning: trying to add breakpoint to file that does not exist: (some file path).py (will have no effect)
我的工作区中不再存在的文件上大约有十几个这样的虚拟断点。有没有办法抑制这些,或者我将永远背负着这些删除文件而不先删除断点的消息?
Whenever I launch the debugger from PyDev it complaints about breakpoints on files that don't exists anymore:
pydev debugger: warning: trying to add breakpoint to file that does not exist: (some file path).py (will have no effect)
There are about a dozen of these phantom breakpoints on files that no longer exist in my workspace. Is there a way to suppress these or will I forever be saddled with these messages for removing files without removing their breakpoints first?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Debug
透视图应该允许您访问Breakpoints
视图(您可以在 本教程)。此视图应列出所有断点,即使它们与已删除的文件相关,并允许您禁用或删除它们。
The
Debug
perspective should give you access to aBreakpoints
view (you can see its title bar in some of the screenshots in this tutorial).This view should list all your breakpoints, even if they relate to deleted files, and allow you to disable or remove them.
今天我刚刚遇到这个问题,我想出了如何解决它。
很简单,只需点击运行->即可删除所有断点:)
today I just encountered this problem and I figured out how to solved it.
Very simple, you just need to click Run -> Remove all breakpoints :)