Skip to content

Commit 6deb671

Browse files
add code comment to LinuxProcessTree's parser
1 parent d4c81e1 commit 6deb671

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/tools/lldb-dap/src-ts/process-tree/platforms/linux-process-tree.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export class LinuxProcessTree extends BaseProcessTree {
2828
return;
2929
}
3030

31+
// ps will list "-" as the command if it does not know where the executable is located
3132
const command = line.slice(commandOffset, argumentsOffset).trim();
3233
if (command === "-") {
3334
return;

0 commit comments

Comments
 (0)