aiomonitor icon indicating copy to clipboard operation
aiomonitor copied to clipboard

Support for Async Generators

Open catwell opened this issue 10 months ago • 0 comments

Is your feature request related to a problem?

Currently encountering an asynchronous generator ends the stack. That is because they are not introspectable.

Describe the solution you'd like

I would like the ability to view a full stack containing Async Generators.

Describe alternatives you've considered

I made a proof of concept to show it can be done with ctypes. Not sure you would consider this in aiomonitor proper.

Additional context

I had that need while debugging code using httpx which is basically a big stack of Async Generators.

Code of Conduct

  • [x] I agree to follow the aio-libs Code of Conduct

catwell avatar Feb 02 '25 08:02 catwell