Expand description
py-spy integration for remote Python stack dumps.
See PS-* invariants in introspect module doc.
Structs§
- PySpy
Dump - Request a py-spy stack dump from this process.
- PySpy
Frame - A single frame in a py-spy stack trace.
- PySpy
Local Variable - A local variable captured in a py-spy frame.
- PySpy
Opts - Options controlling py-spy capture behavior.
- PySpy
Runner - Runs py-spy against the current process.
- PySpy
Stack Trace - A single thread’s stack trace from py-spy
--jsonoutput. - PySpy
Worker - Short-lived child actor that runs py-spy off the ProcAgent
handler path. Spawned per-request; self-terminates after reply.
Concurrent instances are permitted — py-spy attaches read-only
via
process_vm_readvand multiple concurrent dumps are safe. - RunPy
SpyDump - Internal message from ProcAgent to a spawned PySpyWorker. Carries the original caller’s reply port so the worker responds directly without routing back through ProcAgent.
Enums§
- PySpy
Result - Result of a py-spy stack dump request.
Traits§
- PySpy
Dump Client - The custom client trait for this message type.
- PySpy
Dump Handler - The custom handler trait for this message type.