[IPython-User] debugging engine code
Darren Govoni
darren@ontrenet....
Tue Aug 24 08:28:02 CDT 2010
Thanks for the pointers Brian.
I'm using multiengine client. I'll give the %debug a try.
But is it possible to set breakpoints (e.g. pdb.set_trace()) in engine
code and have it break on the engine side and debug there?
I really like this package and am switching my application over to it.
Cheers,
Darren
On Mon, 2010-08-23 at 21:29 -0700, Brian Granger wrote:
> Darren,
>
> Are you using the multiengine client or the task client. Here is a
> thread on this same issue. The last few posts have some things to
> try:
>
> http://mail.scipy.org/pipermail/ipython-user/2010-July/006993.html
>
> Things are a bit different for the multiengine client, but our html
> docs have some info on that:
>
> http://ipython.scipy.org/doc/nightly/html/parallel/parallel_multiengine.html#parallel-exceptions
>
> Cheers,
>
> Brian
>
> On Mon, Aug 23, 2010 at 7:26 AM, Darren Govoni <darren@ontrenet.com> wrote:
> > Hi,
> > How do you debug code running in an engine? Or do you?
> > I get back exception traces in my client shell that aren't really
> > helpful (lots of framework code irrelevant to the error my code
> > generated).
> >
> > Thanks for any tips!
> > Darren
> >
> > _______________________________________________
> > IPython-User mailing list
> > IPython-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-user
> >
>
>
>
More information about the IPython-User
mailing list