[Lldb-commits] [lldb] [lldb-dap] Add process picker command to VS Code extension (PR #128943)

via lldb-commits lldb-commits at lists.llvm.org
Sat Mar 1 13:25:15 PST 2025


Da-Viper wrote:

you could also validate the pid input in package.json from 

https://github.com/llvm/llvm-project/blob/038731c709c665634714275996559c21f36372f2/lldb/tools/lldb-dap/package.json#L359-L364

to 

```json
"pid": {
  "anyOf": [
    {
      "type": "number",
      "description": "System process ID to attach to."
    },
    {
      "const": "${command:pickProcess}",
      "description": "Picks a process ID using the process ID picker"
    }
  ]
},
```


https://github.com/llvm/llvm-project/pull/128943


More information about the lldb-commits mailing list