Hi Matt, Regarding the last point, you can use IPython's autoreload magic. Check out http://ipython.org/ipython-doc/dev/config/extensions/autoreload.html . This can be automated in the preferences of Spyder. Regarding the debugging features of Spyder, it could (and should) certainly be improved. Just for you to know though, if you set the run settings to "Execute in current Python or IPython interpreter", and the current console is IPython, the debug icon will trigger IPDB rather than PDB.
In short, if you want to have an experience a bit closer to Matlab with the current version of Spyder -Set up Spyder to start an IPython console at startup -fill the "Run code" section of spyder's preference line with " %load_ext autoreload, %autoreload 2" -by default, set the run configurations to "execute in current Python or IPython interpreter" -upgrade to Spyder 2.3 when it is out. Best, Sylvain On Tuesday, May 6, 2014 6:33:33 PM UTC-4, Matt Erhart wrote: > > I would like to recreate matlab's keyboard and dbstop if error function, > i.e. stop execution at a line number (or if there is an error), view > variables in the variable browser, return execution control to a standard > ipython terminal that started the process (not a pdb one), be able to > change code in the editor and run it in the ipython terminal (even if the > changed code is in some imported module). How can I make this happen within > spyder? > > thanks! > Matt > -- 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 http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
