How to skip the confirmation dialog before deleting all breakpoints?

How to skip the confirmation dialog before deleting all breakpoints?

Breakpoint is used to notify debugger where and when to pause the execution of program.  You can delete multiple Visual Studio Breakpoints together. Visual Studio ask for a confirmation dialog to re-ensure if you really want to remove all the breakpoints.

Once you select the “Delete All Breakpoints” option / press Ctrl+Shift+F9 from the debug menu, it will ask for for the confirmation “Do you want to delete all breakpoints?

image

If you select “Yes” from the following dialog control, it will clear all the breakpoints, on the other hand selecting “No” would do nothing.

image

In  case you don’t want this confirmation dialog, and you want to delete all the breakpoints without any conformation, you can disable it. Navigate to Tools –> Options –> Debugging –> General, and uncheck the “Ask before deleting all breakpoints” checkbox option.

image

By default it is enabled.

Hope this helps

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

3 Comments to “How to skip the confirmation dialog before deleting all breakpoints?”

Comments are closed.