[Lldb-commits] [lldb] [lldb-dap] Add process picker command to VS Code extension (PR #128943)
Matthew Bastien via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 6 21:18:34 PST 2025
================
@@ -0,0 +1,48 @@
+import * as path from "path";
+import { BaseProcessTree, ProcessTreeParser } from "../base-process-tree";
+
+export class WindowsProcessTree extends BaseProcessTree {
+ protected override getCommand(): string {
+ return "PowerShell";
+ }
+
+ protected override getCommandArguments(): string[] {
+ return [
+ "-Command",
+ 'Get-CimInstance -ClassName Win32_Process | Format-Table ProcessId, @{Label="CreationDate";Expression={"{0:yyyyMddHHmmss}" -f $_.CreationDate}}, CommandLine | Out-String -width 9999',
----------------
matthewbastien wrote:
Done.
https://github.com/llvm/llvm-project/pull/128943
More information about the lldb-commits
mailing list