Python debugging under Linux

Paul Rubin phr-n2003b at NOSPAMnightsong.com
Thu Feb 6 05:17:45 EST 2003


Ganesan R <rganesan at myrealbox.com> writes:
> I did. It's not working on Debian either. But the fix is quite simple. 
> Put the following script with the file name as "pdb" in your path and
> Emacs pdb mode should work fine. Please let me know if this works for you.
> 
> ---------------------
> #!/bin/sh
> exec python2 /usr/lib/python2.2/pdb.py "$@"
> ---------------------

Hey, thanks, that helps a lot.  It works a lot better than whatever I
did last time I messed with pdb mode.  That may have been with an
earlier version of Python.  Cool!





More information about the Python-list mailing list