-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[lldb-dap] use workspaceFolder in vscode configurations. #164320
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
Conversation
`workspaceRoot` was deprecated in [september 2017 release](https://code.visualstudio.com/updates/v1_17#_workspacefolder-in-launchjson-and-tasksjson)
|
@llvm/pr-subscribers-lldb Author: Ebuka Ezike (da-viper) Changes
Full diff: https://github.com/llvm/llvm-project/pull/164320.diff 1 Files Affected:
diff --git a/lldb/tools/lldb-dap/package.json b/lldb/tools/lldb-dap/package.json
index 3f0f150c0d98e..05dce285dd592 100644
--- a/lldb/tools/lldb-dap/package.json
+++ b/lldb/tools/lldb-dap/package.json
@@ -453,7 +453,7 @@
"cwd": {
"type": "string",
"description": "Program working directory.",
- "default": "${workspaceRoot}"
+ "default": "${workspaceFolder}"
},
"env": {
"anyOf": [
@@ -883,10 +883,10 @@
"type": "lldb-dap",
"request": "launch",
"name": "Debug",
- "program": "${workspaceRoot}/<your program>",
+ "program": "${workspaceFolder}/<your program>",
"args": [],
"env": [],
- "cwd": "${workspaceRoot}"
+ "cwd": "${workspaceFolder}"
}
],
"configurationSnippets": [
@@ -897,10 +897,10 @@
"type": "lldb-dap",
"request": "launch",
"name": "${2:Launch}",
- "program": "^\"\\${workspaceRoot}/${1:<your program>}\"",
+ "program": "^\"\\${workspaceFolder}/${1:<your program>}\"",
"args": [],
"env": [],
- "cwd": "^\"\\${workspaceRoot}\""
+ "cwd": "^\"\\${workspaceFolder}\""
}
},
{
|
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/162/builds/33599 Here is the relevant piece of the build log for the reference |
`workspaceRoot` was deprecated in [september 2017 release](https://code.visualstudio.com/updates/v1_17#_workspacefolder-in-launchjson-and-tasksjson)
`workspaceRoot` was deprecated in [september 2017 release](https://code.visualstudio.com/updates/v1_17#_workspacefolder-in-launchjson-and-tasksjson)
workspaceRootwas deprecated in september 2017 release