debug python like set -x

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dave

    debug python like set -x

    Hi,
    Newbie here. Is there a way to have output from a python program go
    to the screen the way it does if I use "set -x" in a shell script?

    thanks in advance
  • Jp Calderone

    #2
    Re: debug python like set -x

    On Fri, Aug 15, 2003 at 08:13:01AM -0700, Dave wrote:[color=blue]
    > Hi,
    > Newbie here. Is there a way to have output from a python program go
    > to the screen the way it does if I use "set -x" in a shell script?
    >[/color]

    Python2.3's trace.py (also in Tools/ in 2.2) has some interesting
    functionality along these lines.

    Jp

    --
    "Minerals are inexhaustible and will never be depleted. A stream of
    investment creates additions to proved reserves, a very large in-ground
    inventory, constantly renewed as it is extracted... How much was in the
    ground at the start and how much will be left at the end are unknown and
    irrelevant." -- Morry Adelman, World Renowned Economist

    Comment

    Working...