pyclewn version: 1.9
tracker id: 3603187
mercurial changeset: a310674a069d

Description:

    Only on python3.
    The output of the python script being debugged is not redirected
    to the terminal set by the '--tty' option, when the debugging
    session is started from Vim with ":Pyclewn pdb script.py".


Solution:

    Both python3 and python2.

    Implement the 'inferiortty' command, using the same scheme as used
    already by the pyclewn gdb debugger.

    When debugging with pdb:

    Without argument, 'inferiortty' spawns a terminal connected to a
    pseudo tty and redirects all three standard streams to this pseudo
    tty.
    With the name of a pseudo tty as an argument, 'inferiortty'
    redirects all three standard streams to this pseudo tty
    (convenient for re-using the same pseudo tty across multiple
    debugging sessions).

    gdb: an error message warns now the user when attempting to spawn
    the terminal from gdb, if the inferior has been already started
    (this is too late).

    pdb: the terminal may be spawned from pdb at any time during the
    debugging session.

    The '--tty' option remains unchanged.


Files:

    pydb.py debugger.py gdb.py netbeans.py

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general

Reply via email to