I’m debugging a flutter project and all of a sudden my breakpoints start behaving really oddly. First of all, when I add a breakpoint. After adding the breakpoint, it starts out as a circle with a grey outline and no infill. Now that’s expected, I have to start a new debug session for them to become effective. In the bottom right of the screen, you can see a popup saying flutter: Hot Restarting...
, that’s me restarting the debug session. But, when it’s done restarting and the popup fades, the breakpoints suddenly disappear instead of becoming active…
And weirdest of all, something really weird similar to this issue happened when I tried again to add the breakpoint: instead of adding it to line …, where I was hovering my cursor, it appeared on a completely different line.
I did a little research but could not find anything apart from the issue that is linked above, which wasn’t of much use to my flutter project. Any help – even the slightest hint as to what is going on – would be much appreciated.
Here’s a gif demonstrating it