Run Task Freezes for some Variable References #10686
Unanswered
shengchao-lin
asked this question in
Q&A
Replies: 1 comment 1 reply
-
What version of the C/C++ extension? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When variable reference is used that relates to the current file, e.g.,
${file}
,${fileBasename}
, etc, the run task freezes. However, a simple echo does not. See the example below. Task "My C++ build" hangs but "echo" does not.When freezing, the terminal tab shows:
If task "echo" is ran first, launched the terminal tab, and ran successfully, then task "My C++ build" can ran successfully too.
Additionally, when the
"${workspaceFolder}/${fileBasename}"
is replaced with something like"${workspaceFolder}/main.cpp"
, the task "My C++ build" runs successfully.What could be the issue here?
Platform: MacOS Ventura 13.2.1
VSCODE:
Version: 1.76.2
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:54:09.061Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Darwin x64 22.3.0
Sandboxed: No
Extension used: C/C++
Beta Was this translation helpful? Give feedback.
All reactions