All of a sudden, my Visual Studio has begun to popup a message every time I want to break my ASP.net project.
How can I get rid of this dialog?
There is nothing to complete, only a debug session to get rid of. Clicking the "Stop Now" button will not immediately stop the execution, but wait some seconds.
From what I know, I have not changed any configuration to get this dialog.
To terminate all debugging sessions, right-click in the Debug view and choose Terminate All from the pop-up menu.
To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
In the Visual Studio toolbar, make sure the configuration is set to Debug. To start debugging, select the profile name in the toolbar, such as <project profile name>, IIS Express, or <IIS profile name> in the toolbar, select Start Debugging from the Debug menu, or press F5.
Just use File/Open Project/Solution, select EXE file and Open it. Then select Debug/Start debugging. The other option is to run the EXE first and then Select Debug/Attach to process.
Deleting all breakpoints (Menu > Debug > Delete All Breakpoints) and running in Debug mode fixed it. Unfortunately, nothing else did it for me. I had to again set the breakpoints that I wanted.
Alternatively, you can choose to work around this problem by choosing the Menu > Debug > Terminate All option instead of clicking the Stop Debugging (Shift + F5) button.
Microsoft announced that they have fixed it in the new release of VS 2017, per this link:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With