pyrepl-0.6
cmkl
cmkleffner at gmx.de
Tue Dec 11 05:17:03 EST 2001
Manoj Plakal <plakal at yahoo.com> wrote in message news:<3C1531D9.1010507 at yahoo.com>...
> Michael Hudson wrote:
>
> > cmkleffner at gmx.de (cmkl) writes:
> >
> >>Really cool,
> >>
> >>during development I'm able to put several lines with
> >>
> >> pyrepl.python_reader.ReaderConsole(vars(), 0, None).interact()
> >>
> >>within the code, even inside functions!
> >>
> >>All I need is 'import pyrepl.python_reader' at the beginnig of
> >>the module. Now I can estimate the state of the programm interactivly
> >>within the scope of the function - break pyrepl with CTRL<D> - proceed
> >>with the script and take a break at the next line with pyrepl....
> >>
> >>Some kind of debugging with hardcoded breakpoints or
> >>'debbuging for dummies'. This is the thing I was looking for!
> >>
> >
> > Heh, that is quite a neat idea. Certainly one that hadn't occurred to
> > me.
> >
> > BTW, pyrepl can integrate itself somewhat into pdb (see pyrepl.py for
> > details), but it's not that thorough yet.
>
>
>
> Being able to have an interactive shell inside arbitrary
> points in a program is cool for debugging. BTW, this
> functionality is provided by the "Interactive Debug Probe"
> in Wing IDE (wingide.com). You can stop the program
> at any point and then launch a shell in the context of the
> stack frame where you stopped.
>
> Manoj
Unfortunately WingIde is not available on HPUX. Does the
"Ability to debug applications running on a remote host" help there?
I guess not.
More information about the Python-list
mailing list