On Mon, Feb 4, 2013 at 10:12 AM, Sylvain Corlay <[email protected]>wrote:
> Hi Jed > I am testing your last version and the debugging support in ipython > consoles. > In the case where there is a console connected to an external kernel, the > toolbar does not work. The behavior that I experience is the following: > > -If at least one other ipython console is active, one of them will get the > signals from the toolbar. > -If none is active, nothing will happen when one starts the debugging. > Eventually, when using the "Debug Exit" button, an error will pop up with > the traceback. > > Yes, this is a known limitation right now. From an IPython perspective, the debug toolbar really only works with Spyder-launched IPython kernels. There are two things driving this limitation today. The first is that the toolbar can't even launch the debugger into an external kernel because the "runfile" function is only available in kernels that Spyder creates. Carlos has created an issue report for this [1], and discussion on that front can continue there. The second issue is related but a bit more subtle. When you are debugging in a Spyder-controlled IPython kernel session on the surface it may look like you are sending debugging commands right into the IPython console front end widget. But behind the scenes Spyder is actually sending commands directly to the kernel through a different channel. When you attach an IPython front end widget to an external kernel you don't have access to that channel. That's going to take some more work. Please open up an issue on the project site so we can let everyone vote on priority through starring. [1] http://code.google.com/p/spyderlib/issues/detail?id=1249 -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
