Skip to content
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

Extension refuses to activate after update to 1.9.7 #9083

Closed
tomhughes opened this issue Mar 24, 2022 · 6 comments
Closed

Extension refuses to activate after update to 1.9.7 #9083

tomhughes opened this issue Mar 24, 2022 · 6 comments
Labels
bug debugger fixed Check the Milestone for the release in which the fix is or will be available. Language Service regression A bug that didn't exist in a previous release
Projects
Milestone

Comments

@tomhughes
Copy link

Bug type: General

Describe the bug

  • OS and Version: Fedora 35
  • VS Code Version: code-1.65.2-1646927812.el7.x86_64
  • C/C++ Extension Version: 1.9.7
  • Other extensions you installed (and if the issue persists after disabling them): clangd
  • A clear and concise description of what the bug is.

To Reproduce
Please include code sample and task.json files.
Steps to reproduce the behavior:

  1. Try and start vscode on a C project
  2. Notice that debugging is not available
  3. Consult the console and find:
mainThreadExtensionService.ts:107 Activating extension 'ms-vscode.cpptools' failed: Do not activate the extension when IntelliSense is disabled..

Expected behavior

The extension continues to start as normal.

@michelleangela
Copy link
Contributor

michelleangela commented Mar 24, 2022

@tomhughes
Could you see if debugging will be activated when C_Cpp.intelliSenseEngine is set to Default? There were recent changes to debugging that could have caused debugging to not be available when C_Cpp.intelliSenseEngine is set to Disabled.

@michelleangela michelleangela added the more info needed The issue report is not actionable in its current state label Mar 24, 2022
@tomhughes
Copy link
Author

Yes that allows cpptools to load, but then the clangd extension popups a warning that it is not compatible with handing Intellisense enabled (https://github.com/clangd/vscode-clangd/blob/78cfb5de1606e3130710e0a2691686d2c69fe6e8/src/extension.ts#L38).

@FrankBlabu
Copy link

Might that be related to #9088 ?

@michelleangela
Copy link
Contributor

#9088 is an installation issue whereas this issue is about enabling the extension's debugger features while IntelliSense server is disabled.

@michelleangela michelleangela added bug Language Service debugger and removed more info needed The issue report is not actionable in its current state labels Mar 25, 2022
@sean-mcmanus sean-mcmanus pinned this issue Mar 28, 2022
@sean-mcmanus sean-mcmanus added the regression A bug that didn't exist in a previous release label Mar 28, 2022
@junchao98
Copy link

I returned the cpptools version to 1.8.4 this problem is gone

@michelleangela michelleangela self-assigned this Mar 29, 2022
@bobbrow bobbrow added this to Triage in 1.10 via automation Mar 29, 2022
@bobbrow bobbrow added this to the On Deck milestone Mar 29, 2022
@sean-mcmanus sean-mcmanus modified the milestones: On Deck, 1.10.0 Mar 30, 2022
@sean-mcmanus sean-mcmanus moved this from Triage to To do in 1.10 Mar 30, 2022
@bobbrow bobbrow assigned Colengms and unassigned elahehrashedi Apr 5, 2022
@Colengms Colengms moved this from To do to Done in 1.10 Apr 13, 2022
@Colengms Colengms added the fixed Check the Milestone for the release in which the fix is or will be available. label Apr 13, 2022
@Colengms Colengms removed their assignment Apr 18, 2022
@Colengms Colengms unpinned this issue Apr 22, 2022
@sean-mcmanus
Copy link
Collaborator

This should be fixed with 1.10.2 (pre-release).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug debugger fixed Check the Milestone for the release in which the fix is or will be available. Language Service regression A bug that didn't exist in a previous release
Projects
No open projects
1.10
Done
Development

No branches or pull requests

8 participants