This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hack.augusto
Recipients asvetlov, hack.augusto, yselivanov
Date 2020-10-15.15:24:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602775467.01.0.625412494748.issue42045@roundup.psfhosted.org>
In-reply-to
Content
Currently it seems that `pdb` does not support executing `async` functions. This makes debugging `async` code a bit harder if one needs to call an `async` function from the REPL.

Here is an example:

```python
import asyncio

async def f() -> int:
    return 1

async def main():
    breakpoint()

asyncio.run(main())
```

The goal would be to call `f()`. In a real world application this could be additional HTTP requests, database queries, etc.
History
Date User Action Args
2020-10-15 15:24:27hack.augustosetrecipients: + hack.augusto, asvetlov, yselivanov
2020-10-15 15:24:27hack.augustosetmessageid: <1602775467.01.0.625412494748.issue42045@roundup.psfhosted.org>
2020-10-15 15:24:26hack.augustolinkissue42045 messages
2020-10-15 15:24:26hack.augustocreate