alexmojaki/snoop

How to debug coroutines?

RZarifov opened this issue · 1 comments

The title is self explanatory. How to debug coroutines, tasks, futures using snoop or whatever else?
Asking this because snoop, as well as birdseye deliberately chose to not support coroutines.

The reasoning here is similar to alexmojaki/birdseye#78.

It's also based on PySnooper's choice not to support coroutines to avoid keeping the trace function around for too long, as discussed in cool-RR/PySnooper#65

Try using a normal debugger like pdb or your IDE. I have no idea what the results will be like.