This issue where the system stops running after you start a debugging session is becoming a pain in the behind. When you hit pause, it’s always stopped at a Thread.Sleep() line (always in the main thread too). If I hit continue, it runs for a little while and does the same again, repeatedly.
Now, something interesting to add to this. I added a watchdog timer to my software last night and because of the pause, the watchdog timed out and reset the board. And here’s the strange part, it was still connected to the debugger when it started as I could hit pause and single step the code but it would no longer pause on me.
Has anyone been able to track down why this pause happens in the first place?