Is there a way to avoid Visual Studio from going to another file when pausing a session?
If you’re debugging a class somewhere else and the code is called from a form which in turns executes a ShowDialog(); (or similar), if you suddenly pause the application, Visual Studio will switch to the file (which sometimes is the Main() method). I’d like to stay in the file I have in front of me, since I usually need to add/remove waypoints or change code and it’s annoying (if you have too many open files) to go back to the point where i was before the pause.
Couldn’t find the option.