Message85520
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) |
|
Date |
User |
Action |
Args |
2009-04-05 15:28:58 | georg.brandl | set | recipients:
+ georg.brandl, rocky |
2009-04-05 15:28:58 | georg.brandl | set | messageid: <1238945338.28.0.775633867129.issue5343@psf.upfronthosting.co.za> |
2009-04-05 15:28:57 | georg.brandl | link | issue5343 messages |
2009-04-05 15:28:57 | georg.brandl | create | |
|