VSCode, "warning: unwind skipped on exception" error if breakpoint in code Using VSCode, this suddenly started happening in the middle of debugging code. VSCode was working fine with breakpoints in the code. Then, all of a sudden, when the code was stopped on a breakpoint my variables were all nil. Looking at the Debug Console I noticed these errors: ; warning: unwind skipped on exception ; error: Exception occurred: 0xC0000005 (Access Violation) After digging into this I have discovered that this is only occurring if I have breakpoints in the code. If I remove ALL the breakpoints the code will run fine in the VSCode debugger. I shut down my PC and then tried again but the same thing still happens. I tried debugging the same file, with the same breakpoint, in the VLisp editor and it worked fine, no error, variables had values. So it seems that something has broken in the VSCode debugger. Any ideas ?? NOTE: Skip to SOLUTION #2! SOLUTION #1 (Only worked for a short time before the error reoccurred) In VSCode, Uninstall the AutoCad AutoLisp extension and then re-install it. Your VSCode customizations wll NOT be deleted or reset! (suprisingly) 1. In VSCode go to the Extension panel. Ctrl+Shift+X or the button on the left hand panel. 2. Find the "AutoCAD AutoLISP Extension", right click on it and then choose "Uninstall". 3. After uninstalling you will now see an "Reload Required" button at the bottom right of the extension. Select it to finish the uninstall. 4. Close VSCode 5. Reopen VSCode 4. Go back into the Extension Marketplace and find and re-install the "AutoCAD AutoLISP Extension". VSCode should now debug properly again. =========================================================================================================================================================== SOLUTION #2 (This seems to really be the solution) NOTE: SKIP TO SOLUTION #3 If you saved good copies of the %APPDATA%\Code and %USERPROFILE%\.vscode folders. Close VSCode if it is open Uninstall Visual Studio Code Backup your VS Code and extension customizations by copying the contents of the following folders to your PC (desktop is fine). Copy the folder C:\Users\\AppData\Roaming\Code\User to your PC. Windows Installer# If you installed VS Code via the Windows Installer, either the User or System version, use the installer to remove VS Code. Start menu Search for Add or Remove Programs and find Visual Studio Code in the Apps > Apps & features list. Select Uninstall from the actions dropdown on the right side (three vertical dots). Follow the prompts to uninstall VS Code. Control Panel Under Programs, select the Uninstall a program link. Find the Visual Studio Code entry, right-click, and select the Uninstall command. Follow the prompts to uninstall VS Code. .zip file installation# If you installed VS Code on Windows by downloading and extracting one of the .zip files, you can uninstall by deleting the folder where you extracted the .zip contents. Clean uninstall# If you want to remove all user data after uninstalling VS Code, you can delete the user data folders Code and .vscode. This will return you to the state before you installed VS Code. NOTE: This can also be used to reset all settings if you don't want to uninstall VS Code. The folder locations will vary depending on your platform: Windows - Delete %APPDATA%\Code and %USERPROFILE%\.vscode. Regardless if you do a full, clean uninstall or just delete the folders above to do a reset you may want to restore your VS Code and extension customizations copy from the User folder of your backup: keybindings.json and settings.json to C:\Users\\AppData\Roaming\Code\User\ Copy from the User\Snippets folder of your backup: autolisp.json to C:\Users\\AppData\Roaming\Code\User\snippets Once you confirm that VSCode is working properly again make copies of the %APPDATA%\Code and %USERPROFILE%\.vscode folders saved somewhere that will not be overwritten. =========================================================================================================================================================== SOLUTION #3 (ONLY if you saved good copies of the %APPDATA%\Code and %USERPROFILE%\.vscode folders) Close VSCode if it is open Delete %APPDATA%\Code and %USERPROFILE%\.vscode folders Copy your good saved Code folder into %APPDATA% Copy your good saved .vscode folder into %USERPROFILE% =========================================================================================================================================================== SOLUTION #3 UPDATE 8-30-2022 Replacing JUST the Code folder seems to be enough. Close VSCode if it is open Delete %APPDATA%\Code folder Copy your good saved "Code" folder into %APPDATA%