Hello,
I am testing the version 2.2.0 beta.
I love the new debug toolbar, but I want to suggest two
improvements:
1. Debugging with ipython and the debug toolbar does not work.
OK, no problem, but than I would expect that the "Debug in
external console" button on the debug toolbar opens a new
Python interpreter before launching the script.
Now you have to do that manually, which is easy to forget
and hard to teach.
2. When the debugging is finished the last line, where the
debugger stopped is still highlighted. That is confusing.
When the debugger is not longer active the highlighting
should be disabled.
Hi, Ewe. Yes, it is true that the debugging toolbar does not work with IPython consoles right now. That is a limitation that will exist for a while longer until we can figure out the right way to implement it so that it does not require too much tinkering with IPython internals.
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To post to this group, send email to spyd...@googlegroups.com.
To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
Dear Jed,
you write:
"Actually, the "Debug in external console" button respects the run configuration setting for each particular script"
If that is true than the quickhelp text, that is shown if you hoover over the red debug button is wrong, because
it ALWAYS says "Debug in external console".
The main problem is that the external or internal console can be either ipython or python. And I suggest to ALWAYS launch a python (and not ipython) console if you click the debug button, unless the current console is already
a python console.
Just to make sure that - if you use the debugging toolbar - that it always works as expected.
With respect to the other little problem:
If it is not possible to " currently active line in the editor" that line one should be set active after the debugging
has finished to make it clear that the debugger is not longer active.
It's actually possible (and completely valid) to launch the debugger into an IPython console using the toolbar. It's just that the stepping commands from the rest of the toolbar won't work yet :). But the typical command line debugging commands that you enter on the prompt do work fine still. I think the answer here is to invest the time to get the debugging toolbar to work right with IPython. Easier said than done, but probably worth it in the end.
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To post to this group, send email to spyd...@googlegroups.com.
To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
... it's now possible (and completely valid) to launch the debugger into an IPython console, *and* the debugging toolbar commands will now work correctly :). I just pushed a solution up to the default repository that allows debugging commands to get to IPython consoles. If anyone running from the default repository source would like to test it out I'd appreciate feedback!Jed
The editor should support adding and removing breakpoint from the GUI during a debugging session. Right now if you add a new breakpoint the GUI acts like it's been added but it won't actually be active until the next debugging session is created. Do I need to create a ticket?
Hi Jed,-> I voted for these two issues, I think that the possibility to add new breakpoints during the debugging is really the missing feature of the debug tool bar.
-> Is it easy to make the icons of the debug toolbar gray depending on the context?For example:- all icons grayed except the "debug" one when the focus is on a console in which pdb is not launched?- "debug" icon grayed and not the other ones when the focus is on a console in which pdb is launched?
-> Another question which is not related to the debug toolbar: Wouldn't is be worth merging the two "Python console" and "Ipython console" widgets ? And then also merge their right-click menus?