diff options
author | Johannes Gijsbers <jlg@dds.nl> | 2004-11-07 11:35:30 +0000 |
---|---|---|
committer | Johannes Gijsbers <jlg@dds.nl> | 2004-11-07 11:35:30 +0000 |
commit | f5b9cfaf8248f40c350476b96077c244cfe20868 (patch) | |
tree | ccc1189dcc364d603176cb02ed9abbd78880d123 /Lib/pdb.py | |
parent | 165c6e3732b1f0d411f795cad421e7f3363b38b3 (diff) | |
download | cpython-f5b9cfaf8248f40c350476b96077c244cfe20868.tar.gz |
Bug #1055168: calling pdb.set_trace() calls Bdb.set_trace, which made
the debugger enter inside pdb.set_trace.
Patch #1061767: make pdb.set_trace enter enter at the stack frame
calling pdb.set_trace().
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py index b608adf2d4..7b5dffa3b6 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py @@ -997,7 +997,7 @@ def runcall(*args, **kwds): return Pdb().runcall(*args, **kwds) def set_trace(): - Pdb().set_trace() + Pdb().set_trace(sys._getframe().f_back) # Post-Mortem interface |