[issue32650] Debug support for native coroutines is broken
Andrew Svetlov
report at bugs.python.org
Wed Jan 24 10:08:43 EST 2018
New submission from Andrew Svetlov <andrew.svetlov at gmail.com>:
pdb (and other Python debuggers) are built on top of bdb.py module.
The module has a support for stepping to next line in function (next command).
The command checks frame flags and do extra steps if the flags contains CO_GENERATOR.
But CO_COROUTINE is not supported, it leads to stepping into a native coroutine instead of expecting stepping over.
The patch should be relative simple: just add a check for CO_COROUTINE along with CO_GENERATOR everywhere.
----------
messages: 310600
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Debug support for native coroutines is broken
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32650>
_______________________________________
More information about the Python-bugs-list
mailing list