On Wed, Mar 6, 2013 at 3:41 PM, Doug Bonar <[email protected]> wrote:

> Can I set the graphically?
>
> In spyderlib/plugins/editor.py  I see breakpoint related actions being set
> up, but I can't find the breakpoint_menu anywhere as an actual UI widget.
> That said, F12 does put a dot in the edge of the file -- looks like it
> should be a breakpoint.   Unfortunately, it I start the debugger, then
> create a breakpoint, the debugger doesn't seem to see it.
>
> So, a 2-part question.
> 1)  Is there some way other than F12 to set breakpoints?
>

Yes. The easiest way is to double-click to the left of the line numbers in
the editor. Shift+double-click sets a conditional breakpoint. A second
double-click on any breakpoint will remove it. There is an open request to
add a breakpoint toolbar [1], so please star the issue if you feel like
that's an important feature.

2)  Is there a way to add a breakpoint while the debugger is running?
>

Yes, but you have to use command-line pdb commands to do it. The inability
to set a new breakpoint through the editor after a debugging session has
already launched is a known limitation right now that will likely be
addressed in a future release [2].

Hope that helps,

Jed

[1] https://code.google.com/p/spyderlib/issues/detail?id=1265
[2] https://code.google.com/p/spyderlib/issues/detail?id=609

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