[issue16446] pdb raises BdbQuit on 'quit' when started with set_trace
Xavier de Gaye
report at bugs.python.org
Fri Nov 9 00:09:53 CET 2012
New submission from Xavier de Gaye:
Also, the two oldest frames of the stack are identical (sic),
according to the printed traceback.
$ python3 foo.py
> /tmp/foo.py(3)<module>()
-> x = 1
(Pdb) import sys; print(sys.version)
3.2.2 (default, Dec 27 2011, 17:35:55)
[GCC 4.3.2]
(Pdb) list
1 import pdb
2 pdb.set_trace()
3 -> x = 1
4
[EOF]
(Pdb) quit
Traceback (most recent call last):
File "foo.py", line 3, in <module>
x = 1
File "foo.py", line 3, in <module>
x = 1
File "/usr/local/lib/python3.2/bdb.py", line 46, in trace_dispatch
return self.dispatch_line(frame)
File "/usr/local/lib/python3.2/bdb.py", line 65, in dispatch_line
if self.quitting: raise BdbQuit
bdb.BdbQuit
$
----------
components: Library (Lib)
messages: 175205
nosy: xdegaye
priority: normal
severity: normal
status: open
title: pdb raises BdbQuit on 'quit' when started with set_trace
type: behavior
versions: Python 2.7, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16446>
_______________________________________
More information about the Python-bugs-list
mailing list