You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle ProcessPicker via resolveDebugConfiguration (#4509)
* Handle ProcessPicker via resolveDebugConfiguration
VS Code commands are limited to only being able to have a single output.
We will handle having an empty processId and show the dialog for
ProcessPicker in resolveDebugConfigurationWithSubstitutedVariables.
We need multiple outputs to handle the latest macOS on Apple M1.
For Apple Silicon M1 (ARM64), we need to determine if we need to use the
x86_64 or arm64 debugger. We are able to detect if the process is using
S_TRANSLATED using the ps commandline with 'flags', if it is set with
0x20000, it is emulated.
* Addressing PR issues
Migrate remoteProcessPicker to also be in resolve configuration
Handle 'clr' type for remote process picking.
Addressing PR issues.
Added comment about 0x20000
* Remove 'processId' from default config
* Remove 'processId' from assets.ts
Copy file name to clipboardExpand all lines: debugger.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ The C# debugger supports attaching to processes. To do this, switch to the Debug
77
77
78
78

79
79
80
-
Select the '.NET Core Attach' configuration. Clicking the play button (or pressing <kbd>F5</kbd>) will then try to attach. In launch.json, if `processId` is set to `"${command:pickProcess}"` this will provide UI to select which process to attach to.
80
+
Select the '.NET Core Attach' configuration. Clicking the play button (or pressing <kbd>F5</kbd>) will then try to attach. In launch.json, if `processId` is set to `""` this will provide UI to select which process to attach to.
Copy file name to clipboardExpand all lines: package.json
+7-9Lines changed: 7 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1624,12 +1624,12 @@
1624
1624
"anyOf": [
1625
1625
{
1626
1626
"type": "string",
1627
-
"description": "The process id to attach to. Use \"${command:pickProcess}\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
1628
-
"default": "${command:pickProcess}"
1627
+
"description": "The process id to attach to. Use \"\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
1628
+
"default": ""
1629
1629
},
1630
1630
{
1631
1631
"type": "integer",
1632
-
"description": "The process id to attach to. Use \"${command:pickProcess}\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
1632
+
"description": "The process id to attach to. Use \"\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
"pipeProgram": "^\"${1:enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'}\"",
@@ -2725,12 +2723,12 @@
2725
2723
"anyOf": [
2726
2724
{
2727
2725
"type": "string",
2728
-
"description": "The process id to attach to. Use \"${command:pickProcess}\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
2729
-
"default": "${command:pickProcess}"
2726
+
"description": "The process id to attach to. Use \"\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
2727
+
"default": ""
2730
2728
},
2731
2729
{
2732
2730
"type": "integer",
2733
-
"description": "The process id to attach to. Use \"${command:pickProcess}\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
2731
+
"description": "The process id to attach to. Use \"\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
Copy file name to clipboardExpand all lines: src/tools/OptionsSchema.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -406,12 +406,12 @@
406
406
"anyOf": [
407
407
{
408
408
"type": "string",
409
-
"description": "The process id to attach to. Use \"${command:pickProcess}\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
410
-
"default": "${command:pickProcess}"
409
+
"description": "The process id to attach to. Use \"\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
410
+
"default": ""
411
411
},
412
412
{
413
413
"type": "integer",
414
-
"description": "The process id to attach to. Use \"${command:pickProcess}\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
414
+
"description": "The process id to attach to. Use \"\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
0 commit comments