Resetting VisualGDB Settings
Uninstalling VisualGDB normally preserves the global settings and keeps the packages (e.g. toolchains) you installed, so that you easily switch between different VisualGDB versions.
If you would like to reset all VisualGDB settings, you can manually do the following:
- Close all instances of Visual Studio
- Delete the HKEY_CURRENT_USER\Software\Sysprogs\VisualGDB registry key (we recommend saving it to a .reg file beforehand).
- Delete the %LOCALAPPDATA%\VisualGDB directory (we recommend renaming it so that you can revert it later).
- If you have installed any toolchains, you can simply delete their directories and optionally remove the Software\Sysprogs\GNUToolchains registry key (HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE).
If you used VisualGDB to install Arduino packages, you can try removing the following directories:
- C:\Users\<user>\Documents\ArduinoData
- C:\Users\<user>\AppData\Local\Arduino<version>
If you are using a custom Python installation, some versions of mbed, ESP-IDF or other frameworks could install Python packages in it. If you are encountering strange Python errors, consider deleting your Python installation, and installing it from scratch.