]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport fix by tismer for #210682
authorNeal Norwitz <nnorwitz@gmail.com>
Wed, 29 May 2002 01:29:38 +0000 (01:29 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Wed, 29 May 2002 01:29:38 +0000 (01:29 +0000)
commita5fd7ba939d07fcc8788d19d72b499bb91ebcacf
tree4d3f893cd282506cd73f248777c564d965df554f
parent3722b84cc42167439ab6495d2c7d6129059fb8bd
Backport fix by tismer for #210682

fixed an old buglet that caused bdb to be unable to
continue in the botframe, after a breakpoint was set.
the key idea is not to set botframe to the bottom level frame,
but its f_back, which actually might be None.
Additional changes: migrated old exception trick to use
sys._getframe(), which exists both in 2.1 and 2.2 .

Note: I believe Mark Hammond needs to look over his code now.
F5 correctly starts up in the debugger, but later on doesn't stop at a given
breakpoint any longer.

kind regards - chris
Lib/bdb.py