Verified Solution

[microsoft/vscode] debugger crashed somehow, know isn't able to get removed have to reinstall

Sponsored Content
### ROOT CAUSE The issue likely stems from a combination of a corrupted VSCode installation and potential conflicts with system-level dependencies (e.g., Metal renderer) or extensions. The freezing on startup could be due to a resource conflict, while the debugger crash might be caused by an incompatible library or extension. The Metal renderer issues, indicated by the system info, could exacerbate the problem, especially on Apple Silicon. ### CODE FIX 1. **Clean Uninstall and Reinstall**: - Delete the entire VSCode application from the Applications folder. - Remove configuration and data directories: ```bash rm -rf "~/Library/Application Support/Code" rm -rf "~/Library/Application Support/Code User Data" rm -rf "~/Library/Logs/Code" ``` - Restart the Mac and install the latest VSCode version from [code.visualstudio.com](https://code.visualstudio.com/download). 2. **Resolve Metal Renderer Issues**: - Ensure macOS is fully updated. - Reset the Metal renderer by deleting the preference file: ```bash defaults delete com.apple.Photos defaults delete com.apple.GPUControl ``` - Reboot and test VSCode. 3. **Extension Conflict Check**: - Start VSCode in safe mode (hold `Cmd` during launch) to disable extensions. - If the issue resolves, identify problematic extensions by re-enabling them one at a time. 4. **Update Dependencies**: - Reinstall the C/C++ extension and ensure `gdb` is compatible with your system (e.g., install via Homebrew: `brew install gdb`). 5. **Check System Logs**: - Use the Console app to review logs for errors related to `Code` or `com.apple` GPU drivers. If the problem persists, report detailed logs and system specs to the [VSCode GitHub](https://github.com/microsoft/vscode/issues).
Deploy on DigitalOcean ($200 Credit)

Related Fixes

[microsoft/vscode] request failed
[StackOverflow/rust] Is there any difference between Rust and Pony on ownership model?
[StackOverflow/kubernetes] Reconciliation from DB -> Kubernetes or DB as a caching layer