Skip to content

Commit daf2618

Browse files
use camel case for ${command:pickProcess}
1 parent f4407b2 commit daf2618

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lldb/tools/lldb-dap/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ This will attach to a process `a.out` whose process ID is 123:
6565
}
6666
```
6767

68-
You can also use the variable substituion `${command:PickProcess}` to select a
68+
You can also use the variable substituion `${command:pickProcess}` to select a
6969
process at the start of the debug session instead of setting the pid manually:
7070

7171
```javascript
@@ -74,7 +74,7 @@ process at the start of the debug session instead of setting the pid manually:
7474
"request": "attach",
7575
"name": "Attach to PID",
7676
"program": "/tmp/a.out",
77-
"pid": "${command:PickProcess}"
77+
"pid": "${command:pickProcess}"
7878
}
7979
```
8080

@@ -237,7 +237,7 @@ the following `lldb-dap` specific key/value pairs:
237237
| Parameter | Type | Req | |
238238
|-----------------------------------|-------------|:---:|---------|
239239
| **program** | string | | Path to the executable to attach to. This value is optional but can help to resolve breakpoints prior the attaching to the program.
240-
| **pid** | number | | The process id of the process you wish to attach to. If **pid** is omitted, the debugger will attempt to attach to the program by finding a process whose file name matches the file name from **program**. Setting this value to `${command:PickProcess}` will allow interactive process selection in the IDE.
240+
| **pid** | number | | The process id of the process you wish to attach to. If **pid** is omitted, the debugger will attempt to attach to the program by finding a process whose file name matches the file name from **program**. Setting this value to `${command:pickProcess}` will allow interactive process selection in the IDE.
241241
| **waitFor** | boolean | | Wait for the process to launch.
242242
| **attachCommands** | [string] | | LLDB commands that will be executed after **preRunCommands** which take place of the code that normally does the attach. The commands can create a new target and attach or launch it however desired. This allows custom launch and attach configurations. Core files can use `target create --core /path/to/core` to attach to core files.
243243

lldb/tools/lldb-dap/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"program": "./bin/lldb-dap.exe"
148148
},
149149
"variables": {
150-
"PickProcess": "lldb-dap.pickProcess"
150+
"pickProcess": "lldb-dap.pickProcess"
151151
},
152152
"configurationAttributes": {
153153
"launch": {
@@ -527,7 +527,7 @@
527527
"type": "lldb-dap",
528528
"request": "attach",
529529
"name": "${1:Attach}",
530-
"pid": "^\"\\${command:PickProcess}\""
530+
"pid": "^\"\\${command:pickProcess}\""
531531
}
532532
},
533533
{

0 commit comments

Comments
 (0)