ladybird/Base/usr/share/man/man1/Inspector.md
Sam Atkins f240def414 LibCore: Allow inspecting any process launched with MAKE_INSPECTABLE=1
For now, EventLoop and Application still have a make_inspectable
parameter, so that when working on an application you can temporarily
hard-code it to be inspectable rather than having to set the env var
each time.
2022-04-18 12:57:34 +02:00

572 B

Name

Icon Inspector - Serenity process inspector

Open

Synopsis

$ Inspector [pid]

Arguments

  • pid: Process ID to inspect

Description

Inspector facilitates process inspection via RPC.

To inspect a process, it must have MAKE_INSPECTABLE=1 in its environment, and it must have previously allowed the accept(2) system call with pledge(2) to allow inspection via UNIX socket.

Examples

$ Inspector $(pidof Shell)