VS Code freezes on pristine builds

Hi.  Last project was on v2.4.x and returning for a new one after loving the platform previously.  However, the VS Code dev environment seems far less stable that it was 2 years ago.  There are a number of small things but by far the most troublesome is that after approx 50% of pristine builds (or those after changing device tree or prj.conf) VS Code latches up and is unresponsive.   Have to end task it and relaunch costing me a lot of time restarting debug sessions. Does not seem to matter if the build is launched via "Build", "Flash" or "Debug". Been using it again for about 3 months and feels like this issue has appeared in the last month or so. 

I have deleted the build folder for a clean slate, even recloned the repo.  I just have the recommended extensions all latest (list below) and SDK and toolchain 3.1.1.  VS Code is latest, 

Thanks in advance.

Version: 1.111.0 (user setup)
Commit: ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb
Date: 2026-03-06T23:06:10Z
Electron: 39.6.0
ElectronBuildId: 13330601
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Parents
  • Hello,

    Could you take a look at the issue reported here and let me know whether it is similar to the issue you are experiencing?

    Kind Regards,

    Abhijith

  • Similar but not the same I dont think.  That ticket talks about it stopping on the "Found GnuLd:" step.  I always get past this step.  My issues always shows as the build fully complete but VS code just not releasing control back. The window UI thread does not freeze - you can still switch windows back and forward to it. However, it does not accept further input, and its taskbar icon appears like this, with or without the red tint depending on if it is the active window.  

    As above though it happens at random and from any kickoff of a deeper level build - pristine request, edit pjr file or edit board definition files (custom board). It never does it from just code file edits. NOTE it is a dual core nRF5340 build using sysbuild with application and ipc_radio in the build list.

Reply
  • Similar but not the same I dont think.  That ticket talks about it stopping on the "Found GnuLd:" step.  I always get past this step.  My issues always shows as the build fully complete but VS code just not releasing control back. The window UI thread does not freeze - you can still switch windows back and forward to it. However, it does not accept further input, and its taskbar icon appears like this, with or without the red tint depending on if it is the active window.  

    As above though it happens at random and from any kickoff of a deeper level build - pristine request, edit pjr file or edit board definition files (custom board). It never does it from just code file edits. NOTE it is a dual core nRF5340 build using sysbuild with application and ipc_radio in the build list.

Children
No Data
Related