New submission from Andrew Svetlov <andrew.svet...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue32650>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to