Hi again, I was going through the Python library documentation and I found something I never saw before.
$ python -m pdb myscript.py This is what I was looking for! Great help. Any further reference could of course help a lot. I never was able to get the hang of it until now. Victor On Mon, 2006-01-16 at 13:12 -0600, Victor Bouffier wrote: > Hi to all, > > I tried to look for a reference to this issue in the ASPN archive, but I > can't seem to find an answer. > > I currently work under Linux and have never been able to properly use > the Python debugger. Coming from a Perl background, I fail to find a > similar simple way to step through my code the way I am able to do it > through the -d flag using Perl on the command line. It is so painless. > > I have used Python on Windows, usually writing my programs using Vim, > and entering the PythonWin environment to debug my programs. It is a > good environment to do that, although I prefer my independent editor for > writing my programs. > > I once paid for ActiveState's Komodo for Linux to use as an IDE, but I find it > bloated and slow, not to mention the need to constantly upgrade if you > want to keep up with versions (have not done it yet). > > Does anyone have any suggestions as to an alternative to PythonWin, or > even better still, a reference to a good tutorial on how to use my > current tools: how to use the python debugger as the way Perl debugger > works? I am certain the Python interpreter (being better that Perl in > that sense) must have a way to use the debugger. > > I work under Linux using vi/gvim and ipython (I have never really tried > IDLE). > > Thanks in advance for any help. > Victor > > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor