-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[lldb-dap] Add process picker command to VS Code extension #128943
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
base: main
Are you sure you want to change the base?
Changes from 3 commits
b9083ea
b423842
ee7b00e
82ef750
f4407b2
daf2618
b2c0382
18cba4b
85a19e4
f84f5cc
0a615f2
6f40eb3
d4c81e1
6deb671
582cd9b
548ac79
f967f6d
2492e1e
e9b4e6a
a18e5cc
55e0c95
6d01d9a
e4155ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,6 +34,23 @@ function convertToInteger(value: any): number | undefined { | |
| export class LLDBDapConfigurationProvider | ||
| implements vscode.DebugConfigurationProvider | ||
| { | ||
| resolveDebugConfiguration( | ||
| _folder: vscode.WorkspaceFolder | undefined, | ||
| debugConfiguration: vscode.DebugConfiguration, | ||
| _token?: vscode.CancellationToken, | ||
| ): vscode.ProviderResult<vscode.DebugConfiguration> { | ||
| // Default "pid" to ${command:pickProcess} if neither "pid" nor "program" are specified | ||
| // in an "attach" request. | ||
| if ( | ||
| debugConfiguration.request === "attach" && | ||
| !("pid" in debugConfiguration) && | ||
| !("program" in debugConfiguration) | ||
| ) { | ||
| debugConfiguration.pid = "${command:pickProcess}"; | ||
|
||
| } | ||
| return debugConfiguration; | ||
| } | ||
|
|
||
| resolveDebugConfigurationWithSubstitutedVariables( | ||
| _folder: vscode.WorkspaceFolder | undefined, | ||
| debugConfiguration: vscode.DebugConfiguration, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.