[New-bugs-announce] [issue4150] pdb "up" command fails in generator frames

Armin Rigo report at bugs.python.org
Mon Oct 20 16:21:09 CEST 2008


New submission from Armin Rigo <arigo at users.sourceforge.net>:

pdb in post-mortem mode is not able to walk the stack through frames
that belong to generators.  The "up" command fails with the message
"Oldest frame", making it impossible to inspect the caller (or even know
what the caller was).

The attached patch fixes this.

----------
components: Library (Lib)
files: pdb-gen-frames.diff
keywords: patch, patch
messages: 74995
nosy: arigo
severity: normal
status: open
title: pdb "up" command fails in generator frames
type: behavior
versions: Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4, Python 2.5, Python 2.5.3, Python 2.6, Python 2.7
Added file: http://bugs.python.org/file11836/pdb-gen-frames.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4150>
_______________________________________


More information about the New-bugs-announce mailing list