hi
i got the below crash while interactive debugging with spyder 3.1.2 (win10
64 bit, python3 conda environment all packages updated to conda update
--all as of this mornning). I was stopped at a breakpoint and it appeared
to hang when running an interactive command from the ipython console (the
command was some trivial involving numpy, something like a.max()). After a
long delay it continued running and eventually returned with the following
stack trace. It was in a unittest at the time so the orginal crash was
caught and reported later as part of a unittest failure. Below is the
relevant part of the reported stack trace from the unittest failure.
Im reporting it here as i have the the feeling I often get hangs like this
when running interactive comments in the ipdb in the console when stopped
at a breakpoint., Sometimes it never seems to come back from the hang and i
end up restarting the kernel.
please let me know if i should file a bug report on github
cheers
Rob
File "C:\Users\Rob
Buckley\Anaconda2\envs\python3\lib\site-packages\IPython\core\debugger.py",
line 283, in trace_dispatch
return super(Pdb, self).trace_dispatch(frame, event, arg)
File "C:\Users\Rob Buckley\Anaconda2\envs\python3\lib\bdb.py", line 48,
in trace_dispatch
return self.dispatch_line(frame)
File "C:\Users\Rob Buckley\Anaconda2\envs\python3\lib\bdb.py", line 66,
in dispatch_line
self.user_line(frame)
File "C:\Users\Rob Buckley\Anaconda2\envs\python3\lib\pdb.py", line 259,
in user_line
self.interaction(frame, None)
File "C:\Users\Rob
Buckley\Anaconda2\envs\python3\lib\site-packages\spyder\utils\site\sitecustomize.py",
line 612, in interaction
self.cmdloop()
File "C:\Users\Rob Buckley\Anaconda2\envs\python3\lib\cmd.py", line 126,
in cmdloop
line = input(self.prompt)
File "C:\Users\Rob Buckley\Anaconda2\envs\python3\lib\pdb.py", line 412,
in onecmd
return cmd.Cmd.onecmd(self, line)
File "C:\Users\Rob Buckley\Anaconda2\envs\python3\lib\cmd.py", line 202,
in onecmd
cmd, arg, line = self.parseline(line)
File "C:\Users\Rob
Buckley\Anaconda2\envs\python3\lib\site-packages\IPython\core\debugger.py",
line 305, in parseline
if ((cmd in self.curframe.f_locals or cmd in self.curframe.f_globals)
AttributeError: 'NoneType' object has no attribute 'f_locals'
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.