On Fri, Feb 1, 2013 at 9:22 AM, Sylvain Corlay <[email protected]>wrote:

> 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.
>

I agree that this deserves some attention. It probably won't make it into
version 2.2 because it's likely to create a few bugs in the early
implementation, and we're trying to get 2.2 stable and releasable. Stay
tuned for future action in the next release maybe.


> -> 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?
>

Theoretically, yes, this could happen. Practically, there is one big
challenge today. Each console is running in it's own process separate from
Spyder, and I don't believe that the consoles currently alert Spyder when
they are in debug mode. So Spyder doesn't really have a good way of knowing
the debug state of any given console today. And keep in mind that
interactive consoles can come in and out of debug mode from the toolbar or
by keyboard inputs at a command prompt, so it isn't sufficient to just
handle debug state at, say, the tab widget level. You actually have to have
a mechanism to peer into the external console process and know if pdb is
active. That might mean monkey patching pdb some more. Please open up an
issue on the project site so we can remember to look at it again later.


> -> 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?
>
>
There are a few outstanding questions about the right way to handle IPython
kernels, front ends, etc. I agree that it is a little confusing, but part
of that confusion results from the fact that we're trying to be pretty
flexible, allowing connection to kernels launched by Spyder and external
kernels under the control of, say, IPython notebook. It's going to require
some additional thought to get it cleaner.

-- 
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.


Reply via email to