It used to be that when I made changes to my .py file in Eclipse, the changes were automatically saved when I ran the program in debug mode. I liked this because it meant that what was debugging was the same as what I was looking at. Now this is no longer the case, which means that it actually launches the old version, if I do not save the file manually first. The first time I ran the program, Eclipse asked me if I always want the changes to be saved when the program starts, and I said yes. I do not know why this is no longer working or how to return it.
This seems to have happened after I started using Mercurial TortoiseHg with BitBucket. As part of this, I moved some files around, but everything comes back and is named the same as before.
Of course, I can just make changes, save, run, but itβs better not to remember the extra save step.
Edit: This is actually a big problem. It also changes my breakpoints. In normal editing mode, I 1) set a breakpoint and save. 2) Add a new line above the breakpoint. Everything looks good. 3) Save. Now the first breakpoint shifts the position.
source share