Visual Code stuck after Windows 11 update

Hi,

Just updated my Windows 11 Pro to the latest (Wed March 1st, 2023) version 22H2 build 22621.1344

Since then, when launching VisualStudioCode (1.76.0) and clicking the nRF Connect button, it's stuck with horizontal blue lines finding for elements (screenshot1)

The left panels never land on anything anymore. 

Update nRF Connect Desktop to version 4.0.0 afterwards, didn't really make any difference.
Plugins seems all ok in VSCode (screenshot2) and the nRF Welcome screen is not even displayed anymore...

I know it's that Windows 11 update as this is a VM and if I revert to the snapshot before the Windows 11 upgrade, everything's fine.

Any idea why or facing the same problem?
Thanks for any clue. I'm now stuck in my development as nothing works anymore.

Steve

screnshot1

Screenshot2

Parents Reply
  • Yes, but unfortunately I can't access the Welcome screen so I don't have those sections.
    If I display the extension configuration, the only thing I get is a subset of the terminal/outpout, etc... and it says
    Unable to resolve configuration with compilerPath: "C:\ncs\toolchains\v2.1.2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe"

    The Generate Support Information command doesn't populate this field.

Children
  • Hi Steve,

    I guess you are looking at the wrong output. Please change the output window to "nRF Connect"

    It would also help to get the Developer Tools details too. Please check and attach those as well:

  • Ok, 
    If I switch to Output and set nRF Connect from the dropdown menu but it shows nothing.

    If I switch to kconfig, here is what is shown:

    [Info - 4:46:35 PM] Server starting
    [Info - 4:46:35 PM] workspaceFolders: [{'uri': 'file:///c%3A/Projects/myfirstapp', 'name': 'myfirstapp'}, {'uri': 'file:///c%3A/Projects/mysecondapp', 'name': 'mysecondapp'}, {'uri': 'file:///c%3A/Projects/nRF-Connect-SDK-Fundamentals/v2.x.x/lesson2/fund_less2_exer1', 'name': 'fund_less2_exer1'}, {'uri': 'file:///c%3A/Projects/nRF-Connect-SDK-Fundamentals/v2.x.x/lesson2/fund_less2_exer2', 'name': 'fund_less2_exer2'}]
    [Info - 4:46:38 PM] Creating context file:///c%3A/Projects/nRF-Connect-SDK-Fundamentals/v2.x.x/lesson2/fund_less2_exer2/build
    [Info - 4:46:38 PM] Main build: file:///c%3A/Projects/nRF-Connect-SDK-Fundamentals/v2.x.x/lesson2/fund_less2_exer2/build
    [Info - 4:46:38 PM] file:///c%3A/Projects/nRF-Connect-SDK-Fundamentals/v2.x.x/lesson2/fund_less2_exer2/prj.conf
    [Info - 4:46:38 PM] Parsing...
    [Info - 4:46:48 PM] Load config...
    [Info - 4:46:48 PM] Done. 1 diags, 0 warnings
    [Info - 4:46:48 PM] Status: True

    And here is what it does forever, looping trying to load
    tiltbox.tiltsoft.com/.../Egdtp84P7ioYwon

    If I set it to "Extension Host", it shows
    2023-03-09 16:46:07.193 [info] Extension host with pid 8336 started
    2023-03-09 16:46:07.193 [info] Skipping acquiring lock for c:\Users\Steve Jordi\AppData\Roaming\Code\User\workspaceStorage\dac7cc48c1395e6bc3638450ea8e8b43.
    2023-03-09 16:46:07.649 [info] ExtensionService#_doActivateExtension nordic-semiconductor.nrf-devicetree, startup: false, activationEvent: 'onView:trond-snekvik.devicetree.ctx'
    2023-03-09 16:46:08.239 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
    2023-03-09 16:46:08.337 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
    2023-03-09 16:46:08.351 [info] ExtensionService#_doActivateExtension nordic-semiconductor.nrf-connect, startup: true, activationEvent: '*'
    2023-03-09 16:46:13.946 [info] ExtensionService#_doActivateExtension nordic-semiconductor.nrf-kconfig, startup: true, activationEvent: '*'
    2023-03-09 16:46:14.518 [info] ExtensionService#_doActivateExtension nordic-semiconductor.nrf-terminal, startup: true, activationEvent: '*'
    2023-03-09 16:46:18.738 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
    2023-03-09 16:46:18.910 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
    2023-03-09 16:46:18.996 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
    2023-03-09 16:46:19.073 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
    2023-03-09 16:46:19.086 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
    2023-03-09 16:46:19.113 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished'
    2023-03-09 16:46:19.163 [info] ExtensionService#_doActivateExtension pdconsec.vscode-print, startup: false, activationEvent: 'onStartupFinished'
    2023-03-09 16:46:19.929 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
    2023-03-09 16:46:32.765 [info] ExtensionService#_doActivateExtension vscode.grunt, startup: false, activationEvent: 'onTaskType:grunt'
    2023-03-09 16:46:32.802 [info] ExtensionService#_doActivateExtension vscode.gulp, startup: false, activationEvent: 'onTaskType:gulp'
    2023-03-09 16:46:32.812 [info] ExtensionService#_doActivateExtension vscode.jake, startup: false, activationEvent: 'onTaskType:jake'
    2023-03-09 16:46:33.070 [info] ExtensionService#_doActivateExtension vscode.npm, startup: false, activationEvent: 'onTaskType:npm'
    2023-03-09 16:46:33.162 [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onTaskType:typescript'
    2023-03-09 16:46:33.192 [info] ExtensionService#_doActivateExtension ms-vscode.cpptools, startup: false, activationEvent: 'onTaskType:cppbuild'
    2023-03-09 16:46:34.877 [warning] DiagnosticCollection with name 'kconfig' does already exist.

    The DevTools CONSOLE:

     INFO [perf] Render performance baseline is 148ms
    workbench.desktop.main.js:90 [Extension Host]% Objecttoolchain: "c:\\ncs\\toolchains\\v2.1.2"west: "c:\\ncs\\toolchains\\v2.1.2\\opt\\bin\\Scripts\\west.exe"[[Prototype]]: Object
    workbench.desktop.main.js:615   ERR Error: ENOENT: no such file or directory, stat 'c:\Users\Steve Jordi\AppData\Roaming\Code\logs\20230309T164600\window1\exthost\output_logging_20230309T164607\1-nRF Connect.log': EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'c:\Users\Steve Jordi\AppData\Roaming\Code\logs\20230309T164600\window1\exthost\output_logging_20230309T164607\1-nRF Connect.log'
        at t.create (C:\Users\Steve Jordi\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:35:4050)
        at c (C:\Users\Steve Jordi\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:35:4182)
        at t.Y (C:\Users\Steve Jordi\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:40:37057)
        at t.stat (C:\Users\Steve Jordi\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:40:30425)
    workbench.desktop.main.js:90 [Extension Host]% Object
    workbench.desktop.main.js:1670 Extension Host
    workbench.desktop.main.js:1670 Debugger attached.
    workbench.desktop.main.js:615  INFO UNRESPONSIVE extension host: starting to profile NOW
    workbench.desktop.main.js:90 [Extension Host] activating extension
    workbench.desktop.main.js:90 [Extension Host] starting language server
    workbench.desktop.main.js:615   ERR [Extension Host] (node:8336) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    (Use `Code --trace-deprecation ...` to show where the warning was created)
    workbench.desktop.main.js:90 [Extension Host] (node:8336) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    (Use `Code --trace-deprecation ...` to show where the warning was created)
    T @ workbench.desktop.main.js:90
    $logExtensionHostMessage @ workbench.desktop.main.js:1573
    N @ workbench.desktop.main.js:1573
    M @ workbench.desktop.main.js:1573
    H @ workbench.desktop.main.js:1573
    G @ workbench.desktop.main.js:1573
    (anonymous) @ workbench.desktop.main.js:1573
    invoke @ workbench.desktop.main.js:86
    deliver @ workbench.desktop.main.js:86
    fire @ workbench.desktop.main.js:86
    fire @ workbench.desktop.main.js:553
    ne.onmessage @ workbench.desktop.main.js:1671
    4workbench.desktop.main.js:90 [Extension Host] updateCustomBrowseConfiguration
    DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/92da9481c0904c6adfe372c12da3b7748d74bdcb/core/vs/workbench/workbench.desktop.main.js.map: Load canceled due to load timeout

    Let me know whether you find anything valuable. I keep that "stuck" VM for us to debug but currently work on a new one installed from a clean base with all latest updated version of OS, VSCode and everything's fine.

    Steve

  • I will discuss this with experts and get back to you soon with a response.

    -Priyanka

  • Hi Steve,

    As of now it's difficult for us to understand the issue as we are not able to reproduce this, no one has reported this behavior previously and we cannot manage to get some support information or useful devTools information from your machine. So we suggest that you continue using the VM that works for you. Slight smile

    -Priyanka

  • Totally agree. It's not like it was time consuming to reinstall one.
    I have a saved VM now that I can restore should the problem show up again. In that case, I'll keep a copy of the "stuck" vm and give you a link for your to test it.
    Anyway, thanks for your help!
    You can close the ticket.

Related