如何从已删除的文件中删除 PyDev 调试器断点?

发布于 2025-01-04 01:00:25 字数 262 浏览 5 评论 0原文

每当我从 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

软糯酥胸 2025-01-11 01:00:25

Debug 透视图应该允许您访问 Breakpoints 视图(您可以在 本教程)。

此视图应列出所有断点,即使它们与已删除的文件相关,并允许您禁用或删除它们。

The Debug perspective should give you access to a Breakpoints 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.

无人问我粥可暖 2025-01-11 01:00:25

今天我刚刚遇到这个问题,我想出了如何解决它。
很简单,只需点击运行->即可删除所有断点:)

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 :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文