On 24/06/2014 20:10, Rotwang wrote:
Hi all, I've found something weird with pdb and I don't understand it. I
want to define a function mydebugger() which starts the debugger in the
caller's frame. The following is copied from IDLE with Python 2.7.3
(I've since tried it with 3.3.0 and the same thing happens):


Never mind, I figured out what's going on thanks to an excellent article by Ned Batchelder explaining the internals of pdb:


Reply via email to