[IPython-User] Question about schedulers

Darren Govoni darren@ontrenet....
Wed Jun 6 21:36:34 CDT 2012

I run an ipcontroller separate and then open the ipengine source file in
my Wing IDE and run/debug it. I wasn't sure if the debugger would trap
my code, but it does.

To test that, I ran an ipython shell session in another terminal.
created Client() and load balanced view and then ran a map over one of
my module functions and it would reach breakpoints in the debugger. I
was quite happy since now I can debug inside the engine context and step
through my code easily without putting traps, hooks or prints directly
in my code.

On Wed, 2012-06-06 at 18:40 -0700, Fernando Perez wrote:
> On Wed, Jun 6, 2012 at 6:38 PM, Darren Govoni <darren@ontrenet.com> wrote:
> > Incidentally, I discovered that I can execute the ipengine code directly
> > in my python IDE and set break points in my user code modules and when I
> > execute functions from remote clients/views, it will hit the break
> > points and let me debug my code visually (in the running engine). Pretty
> > sweet. Though I'd share.
> Cool!  Are you starting that one engine manually so it runs in the IDE
> instead of letting ipcluster start it?  And if so, are you running a
> 'cluster of one' just for debugging, or a larger cluster with one
> engine added that's tied to the debugger?
> f
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

More information about the IPython-User mailing list