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.

Author AbramClark
Recipients AbramClark
Date 2013-02-12.10:47:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360666057.12.0.723928905172.issue17191@psf.upfronthosting.co.za>
In-reply-to
Content
The list command in pdb shows an unexpected portion of code after an up command enters a try / finally block in the call stack.

To reproduce:

pdb pdb_list_bug_reproduce.py
c
up
list

Expected behavior: Show 11 lines around line 8, "throw_something()", which was the entry point to the lower stack frame.

Actual behavior: Shows code centered around line 10, in the finally block, which is likely cleanup code that has nothing to do with the exception thrown.
History
Date User Action Args
2013-02-12 10:47:37AbramClarksetrecipients: + AbramClark
2013-02-12 10:47:37AbramClarksetmessageid: <1360666057.12.0.723928905172.issue17191@psf.upfronthosting.co.za>
2013-02-12 10:47:37AbramClarklinkissue17191 messages
2013-02-12 10:47:36AbramClarkcreate