Share via

Visual Studio 2022 & 2026 Debug Project still crash in busy, can't click any button in visual studio

WU Qi (BCSC/EPA2) 0 Reputation points
2026-01-28T09:45:12.2166667+00:00

正如标题描述的那样,什么项目都这样,最近出现的 偶尔有那么一次正常,重启电脑马上运行也正常 过一会就不正常了,鼠标一直处于繁忙状态,Visual Studio 所有的控件都不能点击 完全没法调试.请看我上传的GIF2026-01-28_14h51_26

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Susmitha T (INFOSYS LIMITED) 2,610 Reputation points Microsoft External Staff
    2026-01-29T10:34:59.56+00:00

    Thank you for reaching out!

    This behavior is not caused by the project or application code.

    Visual Studio becomes unresponsive because one of its background components (such as the debugger, extensions, or internal cache) stops responding and blocks the Visual Studio user interface.

     Recommended Solution:

    Step 1: Start Visual Studio in safe mode

    • This disables all extensions and helps identify extensions-related issues: devenv /safemode
    • If Visual Studio works normally in safe mode, the issue is caused by one of the installed extensions.

    Step 2: Clear Visual Studio cache (Effective Fix)

    • Close Visual Studio.
    • Delete the following folders: %LOCALAOODATA%\Microsoft\VisualStudio\17.*\ComponentModelCache %LOCALAPPDATA%\Microsoft\VisualStudio\17.*\Cache
      • Restart Visual Studio: These files are automatically recreated and safe to remove

    Step 3: Disable Hardware Graphics Acceleration

    • Open Tools -> Options -> Environment ->General
    • Disable use hardware graphics acceleration
    • Restart Visual Studio

    This resolves UI freezes on some systems.

    Step 4: Temporarily Disable Git Integration (If used)

    • Go to Tools ->Options ->Source Control
    • Set source control to None
    • Restart Visual Studio

     

    Let me know if you need any further help with this. I will be happy to assist.
    If you find this helpful, Kindly mark the provided solution as "Accept Answer", so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.