[New-bugs-announce] [issue32900] Teach pdb to step through asyncio et al.

Matthias Urlichs report at bugs.python.org
Wed Feb 21 16:21:20 EST 2018


New submission from Matthias Urlichs <smurf at smurf.noris.de>:

The attached patch is a proof-of-concept implementation of a way to teach pdb to "single-step" through non-interesting code that you can't skip with "n". The prime example for this is asyncio, trio et al., though decorators like @contextlib.contextmanager also benefit.

A "real" implementation should allow the user to specify ranges to ignore, on the pdb command line (probably by filename and optional range of line numbers, instead of pattern matching). A visual indication of how much code has been skipped-ahead that way might also be beneficial.

----------
components: asyncio
messages: 312509
nosy: asvetlov, giampaolo.rodola, njs, smurfix, yselivanov
priority: normal
severity: normal
status: open
title: Teach pdb to step through asyncio et al.
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32900>
_______________________________________


More information about the New-bugs-announce mailing list