Python debugging under Linux

Ganesan R rganesan at myrealbox.com
Thu Feb 6 04:07:38 EST 2003


>>>>> "Paul" == Paul Rubin <phr-n2003b at NOSPAMnightsong.com> writes:

> I'm using Red Hat 7.2 with Emacs 20.7.1.  I have the impression that
> Emacs pdb mode may have worked once upon a time but broke somehow and
> nobody ever fixed it.  I haven't put any real effort into getting it
> working.  

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 "$@"
---------------------

Ganesan

-- 
Ganesan R




More information about the Python-list mailing list