Skip to content

Wrong/previous version of the extension is still used for debugger features after Install From VSIX... and Restart Extension #250116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sean-mcmanus opened this issue May 30, 2025 · 0 comments
Assignees

Comments

@sean-mcmanus
Copy link
Contributor

sean-mcmanus commented May 30, 2025

Does this issue occur when all extensions are disabled?: N/A

  • VS Code Version:
    Version: 1.101.0-insider (user setup)
    Commit: 1b4b2f8
    Date: 2025-05-30T05:03:59.165Z
    Electron: 35.4.0
    ElectronBuildId: 11602177
    Chromium: 134.0.6998.205
    Node.js: 22.15.0
    V8: 13.4.114.21-electron.0
    OS: Windows_NT x64 10.0.26100

Steps to Reproduce:

  1. Install a published version of an extension such as the C/C++ extension 1.25.3.
  2. Do Install From VSIX... and use a newer version of the extension that implements a newer feature such as a newer debugger type. We can send you the vsix we used, built from Support LLDB-DAP as a debugger (OSX/Linux/Windows) vscode-cpptools#13569 .
  3. Click the Restart Extension (or whatever it's called button in the Extension pane and/or the popup that appears in the bottom right.
  4. Try to use a new feature from the extension, in our case the launch.json "cpplldb" debugger type (or F5).

Bug: As shown in the screenshot below, the older version of the extension is still being used (that doesn't support the new "cpplldb" debugger type) even though it reports the version as the new version -- this could cause extension publishers to not actually be testing the VSIX they intend to ship to users (unless they did an explicit Reload Window).

Image

UPDATE: Actually, it seems like only the debugger-related features are using the older version of the VSIX. I'm seeing our language service features use the correct version.

Image

The 1.26.2-dogfood1 vsix adds the "cpplldb" debugger type and it becomes fixed after doing a reload window:

Image

UPDATE: I repro this on Mac too. I can add a new LLDB-DAP configuration in launch.json (made available by the new extension version), but the new cpplldb type squiggles and doesn't work.

@sean-mcmanus sean-mcmanus changed the title Wrong/previous version of the extension is still used after Install From VSIX... and Restart Extension Wrong/previous version of the extension is still used for debugger features after Install From VSIX... and Restart Extension May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants