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?

5 comments
Comment actions Permalink

Hi,

Do you mean that it was added to the copy of that file on the remote host?

Is it reproducible?

0
Comment actions Permalink

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

0
Comment actions Permalink

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

0
Comment actions Permalink

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.

0
Comment actions Permalink

Could you share a screenshot showing where debugger stopped in a file?
Is it happening with only one particular file?

0

Please sign in to leave a comment.