pyheap icon indicating copy to clipboard operation
pyheap copied to clipboard

A heap dumper and analyzer for CPython based on GDB

Results 19 pyheap issues
Sort by recently updated
recently updated
newest added

Hi @ivanyu ! I am trying to dump the heap from the following test program : ```python import time print("hello") time.sleep(5000) ``` The tool runs correctly with `python3 pyheap_dump.py --pid...

After some trial and error, I managed to build something that looks like `pyheap_dump` using `make dist` under *pyheap/*. However, when I run it, I get: ``` $ python3 dist/pyheap_dump...

Simple no-namespace scenarios should work as is on Intel Macs. GDB doesn't currently work on Apple Silicon.

research

Technically, the import function can be substituted with ```{"__builtins__": {"__import__": import1}}```

research

See `PyErr_Print()`, `PyErr_Occurred()`, https://docs.python.org/3/c-api/exceptions.html

# Current challenges 1. How to attach the ephemeral debug container to a running pod with PID namespace sharing? It seems K8s allows this only with a copy of the...

research