New submission from linuxie:
I was running pdb from the command line.
Whenever I restart, It throws the error:
Traceback (most recent call last): File
"/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 861, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs) File "main.py",
line 33, in post res = user.login( platform_id, platform_type) File "main.py",
line 33, in post res = user.login( platform_id, platform_type) File
"/home/work/src/Python-2.7.8/Lib/bdb.py", line 49, in trace_dispatch return
self.dispatch_line(frame) File "/home/work/src/Python-2.7.8/Lib/bdb.py", line
67, in dispatch_line self.user_line(frame) File
"/home/work/src/Python-2.7.8/Lib/pdb.py", line 158, in user_line
self.interaction(frame, None) File "/home/work/src/Python-2.7.8/Lib/pdb.py",
line 210, in interaction self.cmdloop() File
"/home/work/src/Python-2.7.8/Lib/cmd.py", line 142, in cmdloop stop =
self.onecmd(line) File "/home/work/src/Python-2.7.8/Lib/pdb.py", line 279, in
onecmd return cmd.Cmd.onecmd(self, line) File
"/home/work/src/Python-2.7.8/Lib/cmd.py", line 221, in onecmd return fu
nc(arg) File "/home/work/src/Python-2.7.8/Lib/pdb.py", line 679, in do_run
raise Restart Restart
I wonder why a so big bug has not been solved.
----------
messages: 225383
nosy: zhengxiexie
priority: normal
severity: normal
status: open
title: pdb-run-restarting-a-pdb-session
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22210>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com