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 georg.brandl
Recipients georg.brandl, rocky
Date 2009-04-05.15:28:57
SpamBayes Score 1.266773e-05
Marked as misclassified No
Message-id <1238945338.28.0.775633867129.issue5343@psf.upfronthosting.co.za>
In-reply-to
Content
It seems to me that retval works quite well, provided you call it in the
frame where the return occurs:

> /home/gbr/devel/python/x.py(2)f()
-> return 123
(Pdb) step
--Return--
> /home/gbr/devel/python/x.py(2)f()->123
-> return 123
(Pdb) retval
123
(Pdb)
History
Date User Action Args
2009-04-05 15:28:58georg.brandlsetrecipients: + georg.brandl, rocky
2009-04-05 15:28:58georg.brandlsetmessageid: <1238945338.28.0.775633867129.issue5343@psf.upfronthosting.co.za>
2009-04-05 15:28:57georg.brandllinkissue5343 messages
2009-04-05 15:28:57georg.brandlcreate