Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to debug coroutines? #15

Open
RZarifov opened this issue Oct 23, 2019 · 1 comment
Open

How to debug coroutines? #15

RZarifov opened this issue Oct 23, 2019 · 1 comment

Comments

@RZarifov
Copy link

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.

@alexmojaki
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants