From: Pierre R. <co...@py...> - 2010-02-07 09:43:44
|
Gael Varoquaux a écrit : > On Sun, Feb 07, 2010 at 09:59:04AM +0100, Pierre Raybaut wrote: > >> Two screenshots to prove it :-) >> >> Running an example script including "pdb.set_trace()" in the external >> console: >> http://spyderlib.googlegroups.com/web/pdb_test.png >> Executing the same script from a Python interpreter within the external >> console: >> http://spyderlib.googlegroups.com/web/pdb_test2.png >> > > Nice. I am not sure why when I tried it, it didn't work. I don't have > spyder around to test. > > Gaël > I suppose you tried it in the interactive console (Spyder's internal console) which does not support pdb indeed. Anyway, the external console is probably not the ultimate scientific console mainly because it does not support matplotlib in interactive mode for now (actually, I still haven't heard any complaint on this point because people use the interactive console for interactive work -- e.g. analyzing and visualizing data -- and the external console for application development). But I guess I could make it work eventually. -Pierre |