pydev debugger: warning: trying to add breakpoint to file that does not exist

来源:互联网 发布:mac windows支持软件 编辑:程序博客网 时间:2024/05/22 11:39

在使用pycharm远程连接服务器上的 python 解释器进行调试的时候,每次都会提示

pydev debugger: warning: trying to add breakpoint to file that does not exist:XXX(has no effect)

参考Remote debuging on Pycharm is concatenating local and remote path, 然而我已经去掉了 map中的路径映射,而且打印出的路径信息是不在我的项目中的。

参考pyCharm trying to add breakpoint to file that does not exist, 这是因为有 breakpoint 记录,以前的文件的 breakpoint都会保存下来,所以虽然路径不在该项目中,所以pydev还是会尝试去添加 breakpoint

解决的方法是Run->View Breakpoint, 去掉显示出的breakpoint的勾选就可以了,可以看到和显示出的文件路径是一样的。

阅读全文
0 0
原创粉丝点击