Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reset Visual Studio debugging options to default?

In Visual Studio 2015 Community, if I click Debug->Options I get these controllable options:

enter image description here

Also, after I click Debug -> Windows -> Exception Settings I get these:

enter image description here

I am currently experiencing bizarre step-over behavior and other odd behaviors during debugging - for example some exceptions are being caught and others are not.

Instead of isolating the particular option and twiddling with it, I'd rather just reset all of the above options to default settings. However, I do not see how to achieve this. Can you someone please explain how to reset them back to defaults?

like image 678
sapbucket Avatar asked May 15 '17 20:05

sapbucket


People also ask

How do I set Visual Studio back to default settings?

Reset settings Select Tools > Import and Export Settings from the menu bar to open the Import and Export Settings Wizard. In the Import and Export Settings Wizard, select Reset all settings, and then select Next.

How do I change Debug config in Visual Studio?

In Solution Explorer, right-click the project and choose Properties. In the side pane, choose Build (or Compile in Visual Basic). In the Configuration list at the top, choose Debug or Release. Select the Advanced button (or the Advanced Compile Options button in Visual Basic).

How do I disable debug mode in Visual Studio?

You can configure Just-In-Time debugging from the Visual Studio Tools > Options (or Debug > Options) dialog box. To enable or disable Just-In-Time debugging: On the Tools or Debug menu, select Options > Debugging > Just-In-Time.

How do I enable debug mode in Visual Studio?

General debugging options. To set Visual Studio debugger options, select Tools > Options, and under Debugging select or deselect the boxes next to the General options. You can restore all default settings with Tools > Import and Export Settings > Reset all settings.

How do I reset Visual Studio Code to the default settings?

Oop! This is a guide on how to reset Visual Studio Code to the default settings for both Windows and macOS users. 1. Go to View > Command Palette or press Cmd + Shift + P (macOS) or Ctrl + Shift + P (Windows). 2. Search for open settings json and select Preferences: Open Settings (JSON) which show ups from the result list. 3.

How do I change the debugger settings?

You specify debugger settings in the Options dialog box. On the Tools menu, click Options. In the Options dialog box, open the Debugging folder. In the Debugging folder, choose the category of options you want. The most common options are located in the General category. For more information, see General, Debugging, Options Dialog Box.

How to debug other languages in Visual Studio Code?

For debugging other languages and runtimes (including PHP, Ruby, Go, C#, Python, C++, Powershell and many others), look for Debuggers extensions in our VS Code Marketplace or select Install Additional Debuggers in the top-level Debug menu. Below are several popular extensions which include debugging support:


2 Answers

Go to Tools->Import and Export Settings and you can reset to default settings for whatever environment you're in. https://msdn.microsoft.com/en-us/library/ms247075(v=vs.90).aspx

To restore the default exception settings, press the Restore button on the Exception Settings window. It looks like a checklist thing for some reason. https://msdn.microsoft.com/en-us/library/x85tt0dd.aspx

like image 141
Cobalt Avatar answered Sep 20 '22 18:09

Cobalt


Launch Visual Studio 2017 (may be same with 2015) Menu

-> Tools

-> Import and Export Settings...

-> Select 'Reset all settings' radio button

-> Next

-> Select 'No, just reset settings, overwriting my current settings' radio button if you want to reset VS to a fresh install settings

-> Choose 'General' or setting you want to restore to.

-> Finish

like image 32
navule Avatar answered Sep 23 '22 18:09

navule