Pycharm hit breakpoint that does not exist on current file
Hi I encountered the situation that pycharm stop at a breakpoint that does not exist on the current file, I'm using remote intepreter, I once found that if I can get into the remote source of the file, there was a breakpoint there, and if I cancel it, the problem would be solved, but how can fild that file?
请先登录再写评论。
Hi,
Do you mean that it was added to the copy of that file on the remote host?
Is it reproducible?
yes the break point was added to some copy of the file once, and now i cannot go to that file again to cancel it, i believe before i add path mapping, i created that point on the copy, then added path maping, and i will hit that point but cannot go to that copy of file
Try closing PyCharm and removing everything from the following folder:
/Users/<USER>/Library/Caches/<PRODUCT><VERSION>/remote_sources - for Mac OS
<SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>\system\remote_sources - for Windows
Thank you, I'm using ubuntu 16.04, I removed everything under /home/user/.PyCharm2018.1/system/remote_sources/, but the problem still there, everytime for debugging it hit a point in a file which does not exist as a breakpoint on the file.
Could you share a screenshot showing where debugger stopped in a file?
Is it happening with only one particular file?