vscode-cpptools
vscode-cpptools copied to clipboard
#ifdef XXX #else #endif gray code Bug
Type: Debugger
Describe the bug
-
OS and Version: MacOS 10.14.6
-
VS Code Version:1.38.1
-
C/C++ Extension Version:0.25.1
-
Other extensions you installed (and if the issue persists after disabling them):
-
A clear and concise description of what the bug is.
To Reproduce
Please include a code sample and launch.json configuration.
Steps to reproduce the behavior:
- #define something in header files
- writing #ifdef xxx #else xxx #endif
- //#define
- See error
Additional context
If applicable, please include logging by adding "logging": { "engineLogging": true, "trace": true, "traceResponse": true } in your launch.jsonAdd any other context about the problem here including log or error messages in your Debug Console or Output windows.
I'm not able to repro the bug. Is the bug that half the defines are grayed out strangely? Is there some special requirement?
Restart ccptools and VScode,it's get back to normal. Thanks~