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 ned.deily
Recipients donaldcallen, ikelly, ned.deily
Date 2013-04-11.19:39:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365709162.42.0.0532037226118.issue17697@psf.upfronthosting.co.za>
In-reply-to
Content
On python-list, Robert Kern used "where" to demonstrate the problem: 

$ python pdbbug.py
first call
--Return--
 > /Users/rkern/scratch/pdbbug.py(4)foo()->None
-> pdb.set_trace()
(Pdb) where
   /Users/rkern/scratch/pdbbug.py(5)<module>()
-> foo('first call')
 > /Users/rkern/scratch/pdbbug.py(4)foo()->None
-> pdb.set_trace()
(Pdb) c
second call
--Return--
 > /Users/rkern/scratch/pdbbug.py(4)foo()->None
-> pdb.set_trace()
(Pdb) where
   /Users/rkern/scratch/pdbbug.py(5)<module>()
-> foo('first call')
 > /Users/rkern/scratch/pdbbug.py(4)foo()->None
-> pdb.set_trace()
(Pdb)

Searching other open pdb issues, applying the suggested fix from Issue16482 seems to correct the problem here.
History
Date User Action Args
2013-04-11 19:39:22ned.deilysetrecipients: + ned.deily, ikelly, donaldcallen
2013-04-11 19:39:22ned.deilysetmessageid: <1365709162.42.0.0532037226118.issue17697@psf.upfronthosting.co.za>
2013-04-11 19:39:22ned.deilylinkissue17697 messages
2013-04-11 19:39:22ned.deilycreate