v1.21.4 does not cooperate with CMake Tools plugin (IntelliSense does not see headers)
olvap80 opened this issue · comments
Environment
- OS and Version: Windows 10
- VS Code Version: 1.91.1
- C/C++ Extension Version: v1.21.4
- If using SSH remote, specify OS of remote machine:
Bug Summary and Steps to Reproduce
Bug Summary:
I have CMake Tools v1.18.43 and C/C++ Extension Version v1.20.5 was able to figure out heades with the help of CMake Tools
but v1.21.4 is unable to do that.
Steps to reproduce:
- Go to Code editing window while C/C++ Extension Version: v1.21.4
- Click on any tab containing sources that include standard headers (has strings like
#include <exception>
) - Scroll down to
#include <exception>
- See error (
#include <exception>
is underlined in red and "cannot open source file "exception"C/C++(1696)" message appears), also Ctrl+Click does not work
NOTE: project successfully builds (and runs) with CMake Tools v1.18.43 (as before), the only problem is IntelliSense highlight.
Expected behavior:
There shall be no "cannot open source file "exception"C/C++(1696)" errors and Ctrl+Click shall work as before
NOTE: reverting back from v1.21.4 to v1.20.5 works as expected
Configuration and Logs
-------- Diagnostics - 7/28/2024, 7:29:27 PM
Version: 1.21.4
Current Configuration:
{
"name": "Win32",
"includePath": [
"d:/MY_GIT/MyArduino/General/libraries/InstantRTOS/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64",
"compilerPathInCppPropertiesJson": "cl.exe",
"intelliSenseModeIsExplicit": false,
"cStandardIsExplicit": false,
"cppStandardIsExplicit": false,
"mergeConfigurations": false,
"compilerPathIsExplicit": false,
"configurationProvider": "ms-vscode.cmake-tools",
"browse": {
"path": [
"d:/MY_GIT/MyArduino/General/libraries/InstantRTOS/**",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
}
Custom browse configuration:
{
"browsePath": [
"d:/my_git/myarduino/general/libraries/instantrtos/build/cmakefiles",
"d:/my_git/myarduino/general/libraries/instantrtos/build/cmakefiles/a9f25144f4c8bc75ca04c8bf4ef07679",
"d:/my_git/myarduino/general/libraries/instantrtos/src",
"d:/my_git/myarduino/general/libraries/instantrtos/build/_deps/doctest-src",
"d:/my_git/myarduino/general/libraries/instantrtos/tests",
"d:/my_git/myarduino/general/libraries/instantrtos/build/_deps/doctest-src/doctest/parts"
],
"compilerPath": "c:/program files/bullseyecoverage/bin/cl.exe",
"compilerArgs": [],
"compilerFragments": [
"/DWIN32 /D_WINDOWS /EHsc /Ob0 /Od /RTC1 -MDd -Zi"
]
}
cpptools version (native): 1.21.3.0
Translation Unit Mappings:
[ D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\tests\test_InstantDebounce.cpp - source TU]:
D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\src\InstantMemory.h
[ D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\tests\test_InstantMemory.cpp - source TU]:
Translation Unit Configurations:
[ D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\tests\test_InstantDebounce.cpp ]:
Process ID: 2596
Memory Usage: 57 MB
Compiler Path: C:\Program Files\BullseyeCoverage\bin\cl.exe
Includes:
D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\src
D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\build\_deps\doctest-src
System Includes:
C:\Program Files\BullseyeCoverage\include
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\cppwinrt
Defines:
WIN32
_WINDOWS
Standard Version: ms_c++17
IntelliSense Mode: windows-msvc-x86
[ D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\tests\test_InstantMemory.cpp ]:
Process ID: 2384
Memory Usage: 56 MB
Compiler Path: C:\Program Files\BullseyeCoverage\bin\cl.exe
Includes:
D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\src
D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\build\_deps\doctest-src
System Includes:
C:\Program Files\BullseyeCoverage\include
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\cppwinrt
Defines:
WIN32
_WINDOWS
Standard Version: ms_c++17
IntelliSense Mode: windows-msvc-x86
Total Memory Usage: 114 MB
------- Workspace parsing diagnostics -------
Number of files discovered (not excluded): 4893
Number of files parsed: 262
Language server:
loggingLevel: Debug
loggingLevel has changed to: Debug
LSP: (received) cpptools/didChangeCppProperties (id: 159)
LSP: (invoked) cpptools/didChangeCppProperties (id: 159)
LSP: Sending response (id: 159)
LSP: (received) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 160)
LSP: (invoked) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 160)
LSP: Sending response (id: 160)
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 161)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 161)
LSP: Sending response (id: 161)
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 162)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 162)
LSP: Sending response (id: 162)
LSP: (received) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 163)
LSP: (invoked) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 163)
LSP: Sending response (id: 163)
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 164)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 164)
LSP: Sending response (id: 164)
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
Intellisense update pending for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
LSP: (received) cpptools/didChangeActiveEditor: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
LSP: (invoked) cpptools/didChangeActiveEditor: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
LSP: (received) cpptools/didChangeTextEditorSelection
LSP: (invoked) cpptools/didChangeTextEditorSelection
IntelliSense update scheduled and TU acquisition started for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
Update IntelliSense time (sec): 0.132
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 165)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 165)
LSP: Sending response (id: 165)
LSP: $/cancelRequest (<unknown/completed>, id: 165)
LSP: (received) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 166)
LSP: (invoked) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 166)
LSP: Sending response (id: 166)
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 167)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 167)
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 168)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 168)
LSP: Sending response (id: 167)
LSP: Sending response (id: 168)
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 169)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 169)
LSP: Sending response (id: 169)
LSP: (received) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 170)
LSP: (invoked) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 170)
LSP: Sending response (id: 170)
LSP: (received) cpptools/didChangeTextEditorSelection
LSP: (invoked) cpptools/didChangeTextEditorSelection
LSP: (received) textDocument/hover: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 171)
LSP: (invoked) textDocument/hover: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 171)
LSP: $/cancelRequest (textDocument/hover, id: 171)
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 172)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 172)
LSP: Sending response (id: 172)
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 173)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 173)
LSP: Sending response (id: 173)
LSP: (received) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 174)
LSP: (invoked) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 174)
LSP: Sending response (id: 174)
LSP: (received) cpptools/didChangeTextEditorSelection
LSP: (invoked) cpptools/didChangeTextEditorSelection
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 175)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 175)
LSP: Sending response (id: 175)
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (received) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 176)
LSP: (invoked) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 176)
LSP: Sending response (id: 176)
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (received) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 177)
LSP: (invoked) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 177)
LSP: Sending response (id: 177)
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/fileCreated: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/build/tests/InstantRTOS_tests.dir/Debug/InstantR.2B411217.tlog/unsuccessfulbuild
LSP: (invoked) cpptools/fileCreated: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/build/tests/InstantRTOS_tests.dir/Debug/InstantR.2B411217.tlog/unsuccessfulbuild
Intellisense update pending for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h
Intellisense update pending for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
IntelliSense update scheduled and TU acquisition started for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
IntelliSense update scheduled and TU acquisition started for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h
Update IntelliSense time (sec): 0.013
Custom browse configuration received: {
"browsePath": [
"d:/my_git/myarduino/general/libraries/instantrtos/build/cmakefiles",
"d:/my_git/myarduino/general/libraries/instantrtos/build/cmakefiles/a9f25144f4c8bc75ca04c8bf4ef07679",
"d:/my_git/myarduino/general/libraries/instantrtos/src",
"d:/my_git/myarduino/general/libraries/instantrtos/build/_deps/doctest-src",
"d:/my_git/myarduino/general/libraries/instantrtos/tests",
"d:/my_git/myarduino/general/libraries/instantrtos/build/_deps/doctest-src/doctest/parts"
],
"compilerPath": "c:/program files/bullseyecoverage/bin/cl.exe",
"compilerArgs": [],
"compilerFragments": [
"/DWIN32 /D_WINDOWS /EHsc /Ob0 /Od /RTC1 -MDd -Zi"
]
}
LSP: (received) cpptools/didChangeCustomBrowseConfiguration
LSP: (invoked) cpptools/didChangeCustomBrowseConfiguration
LSP: (received) cpptools/clearCustomConfigurations
LSP: (invoked) cpptools/clearCustomConfigurations
Intellisense update pending for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h
Intellisense update pending for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
Shutting down IntelliSense server: D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\tests\test_InstantDebounce.cpp
LSP: (received) cpptools/resumeParsing
LSP: (received) cpptools/queryTranslationUnitSource: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 178)
LSP: (invoked) cpptools/queryTranslationUnitSource: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 178)
Populating file name cache...
LSP: (received) cpptools/queryTranslationUnitSource: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantMemory.cpp (id: 179)
LSP: (invoked) cpptools/queryTranslationUnitSource: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantMemory.cpp (id: 179)
LSP: (received) cpptools/queryTranslationUnitSource: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 180)
LSP: (invoked) cpptools/queryTranslationUnitSource: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 180)
Shutting down IntelliSense server: D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\tests\test_InstantIntrusiveList.cpp
LSP: (invoked) cpptools/resumeParsing
Done populating filename cache. Elapsed time: 21 ms
LSP: Sending response (id: 180)
Custom configurations received:
uri: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
config: {
"includePath": [
"d:/my_git/myarduino/general/libraries/instantrtos/src",
"d:/my_git/myarduino/general/libraries/instantrtos/build/_deps/doctest-src"
],
"defines": [],
"compilerPath": "c:/program files/bullseyecoverage/bin/cl.exe",
"compilerArgs": [],
"compilerFragments": [
"/DWIN32 /D_WINDOWS /EHsc /Ob0 /Od /RTC1 -MDd -Zi"
]
}
LSP: Sending response (id: 179)
Custom configurations received:
uri: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantMemory.cpp
config: {
"includePath": [
"d:/my_git/myarduino/general/libraries/instantrtos/src",
"d:/my_git/myarduino/general/libraries/instantrtos/build/_deps/doctest-src"
],
"defines": [],
"compilerPath": "c:/program files/bullseyecoverage/bin/cl.exe",
"compilerArgs": [],
"compilerFragments": [
"/DWIN32 /D_WINDOWS /EHsc /Ob0 /Od /RTC1 -MDd -Zi"
]
}
LSP: Sending response (id: 178)
Custom configurations received:
uri: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantDebounce.cpp
config: {
"includePath": [
"d:/my_git/myarduino/general/libraries/instantrtos/src",
"d:/my_git/myarduino/general/libraries/instantrtos/build/_deps/doctest-src"
],
"defines": [],
"compilerPath": "c:/program files/bullseyecoverage/bin/cl.exe",
"compilerArgs": [],
"compilerFragments": [
"/DWIN32 /D_WINDOWS /EHsc /Ob0 /Od /RTC1 -MDd -Zi"
]
}
uri: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantMemory.cpp
config: {
"includePath": [
"d:/my_git/myarduino/general/libraries/instantrtos/src",
"d:/my_git/myarduino/general/libraries/instantrtos/build/_deps/doctest-src"
],
"defines": [],
"compilerPath": "c:/program files/bullseyecoverage/bin/cl.exe",
"compilerArgs": [],
"compilerFragments": [
"/DWIN32 /D_WINDOWS /EHsc /Ob0 /Od /RTC1 -MDd -Zi"
]
}
LSP: (received) cpptools/didChangeCustomConfiguration
LSP: (invoked) cpptools/didChangeCustomConfiguration
Received a custom configuration for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
LSP: (received) cpptools/didChangeCustomConfiguration
LSP: (invoked) cpptools/didChangeCustomConfiguration
Received a custom configuration for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantMemory.cpp
LSP: (received) cpptools/didChangeCustomConfiguration
LSP: (invoked) cpptools/didChangeCustomConfiguration
Received a custom configuration for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantDebounce.cpp
LSP: (received) cpptools/fileDeleted: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/build/tests/InstantRTOS_tests.dir/Debug/InstantR.2B411217.tlog/unsuccessfulbuild
LSP: (invoked) cpptools/fileDeleted: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/build/tests/InstantRTOS_tests.dir/Debug/InstantR.2B411217.tlog/unsuccessfulbuild
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 181)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 181)
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 182)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 182)
LSP: Sending response (id: 181)
LSP: Sending response (id: 182)
IntelliSense update scheduled and TU acquisition started for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
IntelliSense update scheduled and TU acquisition started for: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h
Populating file name cache...
LSP: (received) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 183)
LSP: (invoked) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 183)
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 184)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 184)
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 185)
LSP: Sending response (id: 184)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 185)
LSP: Sending response (id: 185)
LSP: Sending response (id: 183)
Done populating filename cache. Elapsed time: 23 ms
sending compilation args for D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\tests\test_InstantDebounce.cpp
include: D:\MY_GIT\MYARDUINO\GENERAL\LIBRARIES\INSTANTRTOS\SRC
include: D:\MY_GIT\MYARDUINO\GENERAL\LIBRARIES\INSTANTRTOS\BUILD\_DEPS\DOCTEST-SRC
system include: C:\PROGRAM FILES\BULLSEYECOVERAGE\INCLUDE
system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UM
system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UCRT
system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\SHARED
system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\WINRT
system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\CPPWINRT
define: _DEBUG
define: _MT
define: _DLL
define: WIN32
define: _WINDOWS
stdver: ms_c++17
intelliSenseMode: windows-msvc-x86
sending compilation args for D:\MY_GIT\MyArduino\General\libraries\InstantRTOS\tests\test_InstantIntrusiveList.cpp
include: D:\MY_GIT\MYARDUINO\GENERAL\LIBRARIES\INSTANTRTOS\SRC
include: D:\MY_GIT\MYARDUINO\GENERAL\LIBRARIES\INSTANTRTOS\BUILD\_DEPS\DOCTEST-SRC
system include: C:\PROGRAM FILES\BULLSEYECOVERAGE\INCLUDE
system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UM
system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UCRT
system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\SHARED
system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\WINRT
system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\CPPWINRT
define: _DEBUG
define: _MT
define: _DLL
define: WIN32
define: _WINDOWS
stdver: ms_c++17
intelliSenseMode: windows-msvc-x86
Update IntelliSense time (sec): 0.293
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 186)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 186)
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 187)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 187)
LSP: Sending response (id: 186)
LSP: Sending response (id: 187)
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 188)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/src/InstantMemory.h (id: 188)
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 189)
LSP: Sending response (id: 188)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 189)
LSP: Sending response (id: 189)
LSP: (received) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 190)
LSP: (invoked) cpptools/getDocumentSymbols: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 190)
LSP: Sending response (id: 190)
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (received) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 191)
LSP: (invoked) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 191)
LSP: Sending response (id: 191)
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
Database safe to open.
LSP: (received) cpptools/didChangeActiveEditor: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
LSP: (invoked) cpptools/didChangeActiveEditor: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp
LSP: (received) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 192)
LSP: (invoked) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 192)
LSP: Sending response (id: 192)
LSP: (received) cpptools/didChangeTextEditorSelection
LSP: (invoked) cpptools/didChangeTextEditorSelection
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 193)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 193)
LSP: Sending response (id: 193)
LSP: (received) cpptools/didChangeTextEditorSelection
LSP: (invoked) cpptools/didChangeTextEditorSelection
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 194)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 194)
LSP: Sending response (id: 194)
LSP: (received) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 195)
LSP: (invoked) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 195)
LSP: Sending response (id: 195)
LSP: (received) textDocument/hover: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 196)
LSP: (invoked) textDocument/hover: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 196)
LSP: Sending response (id: 196)
LSP: (received) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 197)
LSP: (invoked) textDocument/documentHighlight: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 197)
LSP: Sending response (id: 197)
LSP: (received) cpptools/didChangeTextEditorSelection
LSP: (invoked) cpptools/didChangeTextEditorSelection
LSP: (received) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 198)
LSP: (invoked) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 198)
LSP: Sending response (id: 198)
LSP: (received) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 199)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 199)
LSP: Sending response (id: 199)
LSP: (received) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 200)
LSP: (invoked) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 200)
LSP: Sending response (id: 200)
LSP: (received) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 201)
LSP: (invoked) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 201)
LSP: Sending response (id: 201)
LSP: (received) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 202)
LSP: (invoked) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 202)
LSP: Sending response (id: 202)
LSP: (received) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 203)
LSP: (invoked) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 203)
LSP: Sending response (id: 203)
LSP: (received) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 204)
LSP: (invoked) textDocument/definition: file:///d%3A/MY_GIT/MyArduino/General/libraries/InstantRTOS/tests/test_InstantIntrusiveList.cpp (id: 204)
LSP: Sending response (id: 204)
Other Extensions
No response
Additional context
No response
I also experience issues with C/C++ intellisense:
- C/C++ v1.21.4 -> reverting to 1.20.5 allows the extension to function again for me as well, as reported by @olvap80
- CMake Tools v1.18.43 (latest when writing this comment)
@LucasWaelti can you share the before and after logs?
Or, @olvap80 can you confirm that exception
is in the C:\Program Files\BullseyeCoverage\include
folder?
@bobbrow there was no file named exception
in the C:\Program Files\BullseyeCoverage\include
folder (BullseyeCoverage license was expired a long time ago any way, so that's strange that BullseyeCoverage was still detected as my compiler after that by v1.21.4 but not by v1.20.5)
I've just uninstalled BullseyeCoverage tool and from now v1.21.4 works perfectly fine for me :)
Thanks a lot, as my issue has been solved in this way (not sure about the issue @LucasWaelti has encountered :))
Glad to hear that resolved your issue @olvap80. I'm not sure why CMake Tools told us to use that version of the compiler, but that's what I'm seeing in the logs. I was actually surprised that we honored the path because cl.exe isn't a compiler that we can query. We usually look it up in the Visual Studio installation json to find the path. Since I don't have a license to that tool, I can't go check and see how it's configured.
Hi @LucasWaelti . If your repro is not the same, could you open a new issue for it?
Closing this issue.