Skip to content

pidprobe

Structured JSON snapshots of running CPython 3.14+ processes via PEP 768 - no agent, no restart, no gdb

Installation

pip install pidprobe
uv add pidprobe

Quick Example

pidprobe snap 12345 | jq '.stacks.threads[0].frames[0]'
from pidprobe import take_snapshot

snapshot = take_snapshot(12345)
print(snapshot["meta"]["stop_duration_ms"])

Next Steps