Looks like this got broken again somewhere along the way. I’m pretty sure you had fixed it at one point. I see it is losing breakpoints on reformat in the beta and I backpedaled to see when it worked… losing them in 12.11, 12.10 and 12.9. Maybe it didn’t get fixed after all, but I was pretty sure it had been.
From: Chris Johnson
Sent: Wednesday, October 5, 2016 4:09 PM
To: ‘firstname.lastname@example.org’ email@example.com
Subject: losing breakpoints on reformat
I notice that reformatting keeps the cursor position much nicer now. Excellent! That was always one of my pet peeves.
But I also notice that reformatting clears debugger breakpoints. I understand that the line number change, but is there no way to update the breakpoints as the lines change? I know it wouldn’t be simple, as I believe the formatter and debugger are independent tools, possibly maintained by different groups, but it sure would be a lot more user friendly. It’s frustrating to be debugging, make code changes and restart the debugger only to lose valuable work and have to redo setup scenarios because the debugger breakpoints got cleared and it doesn’t stop after code changes.
If it isn’t feasible I understand, we’ll just have to get used to not reformatting code while debugging until we are done.
IT Systems Analyst