Stop Debugging (Shift+F5) causing debugging to restart

visual-studio, visual-studio-2008, visual-studio-debugging

Solution

I really like your question as this occurs to me occasionally and don't know why after many years & don't believe it's related to sticky keys.

There are only two ways I can stop the debugging in this situation:

- Alt + D; E = I press Alt + D; to open the Debug menu then E for 'Stop Debugging' This is alternative hotkey combination that will work.

- is to click the stop button on the debug tool bar.

- (optional) Sometimes when I'm not able to press teh Alt + D I'm not able to get focus to the toolbar and I press ctrl 5 times. Somehow the sticky keys get stuck even though I didn't turn them on.

Hope that helps.

Problem

I'm using Visual Studio 2008 Professional Edition for development. I have observed that whenever I test web applications or websites using Ctrl+F5 and then stop the debugging (or close the browser), the debugging starts again, as if I pressed Ctrl+F5 again. Initially I thought this could be because of a sticky ctrl key but I have checked and confirmed that sticky keys in my machine are not enabled. I searched on the web and have observed that many others have also faced the very same issue. But Microsoft says that the issue is due to a sticky ctrl key. (Refer : http://connect.microsoft.com/VisualStudio/feedback/details/534915/stop-debugging-shortcut-key-shift-f5-causes-debugging-to-restart-instead-of-just-stopping) Anyone else has any other ideas as to why this could be happening (in case I might have missed out on some updated forum) Thanks a lot.! :)

Original source