vscode-go icon indicating copy to clipboard operation
vscode-go copied to clipboard

Remove dependency on deprecated WMIC

Open y-k-m opened this issue 9 months ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

The current implementation uses wmic to obtain a list of processes to be debugged.

https://github.com/golang/vscode-go/blob/master/extension/src/utils/wmicProcessParser.ts

However, wmic has been discontinued and is disabled in new installations of Windows 11 24H2. Therefore, a list of debug processes cannot be obtained in this environment.

https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242

Describe the solution you'd like A clear and concise description of what you want to happen.

I would like to be able to obtain a process list in a way that does not depend on wmic.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

It looks like you can use PowerShell as an alternative. https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242

Additional context Add any other context or screenshots about the feature request here.

there is no.

y-k-m avatar Feb 20 '25 02:02 y-k-m