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.

Title: pdb "up" command fails in generator frames
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.5.3, Python 2.4, Python 2.3, Python 2.2.3, Python 2.7, Python 2.6, Python 2.2.2, Python 2.5, Python 2.2.1, Python 2.2, Python 2.1.2, Python 2.1.1
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: arigo, benjamin.peterson
Priority: normal Keywords: patch

Created on 2008-10-20 14:21 by arigo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
pdb-gen-frames.diff arigo, 2008-10-20 14:21 patch without test - there is no pdb test at all :-(
Messages (2)
msg74995 - (view) Author: Armin Rigo (arigo) * (Python committer) Date: 2008-10-20 14:21
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.
msg75111 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-10-22 21:16
Thanks for the patch. Fixed in r67000.
Date User Action Args
2022-04-11 14:56:40adminsetgithub: 48400
2008-10-22 21:16:49benjamin.petersonsetstatus: open -> closed
keywords: patch, patch
messages: + msg75111
resolution: fixed
nosy: + benjamin.peterson
2008-10-20 14:21:08arigocreate