debugging under NTEmacs?

Syver Enstad syver-en at online.no
Thu Nov 29 13:29:01 EST 2001


"David Abrahams" <david.abrahams at rcn.com> writes:

> Does anyone know how to get pdb debugging in gud mode under emacs
> for NT?

No and yes (I'll explain), I've tried to get the gud mode working
 serveral times but not had much luck (on the other hand, I've never
 used GUD so I don't know how it's suppose to work).

But the new pdbtrack feature in python-mode works great. One way to
use it is as follows: Flip up the
python interpreter buffer. put a pdb.set_trace call in the source file
you wish to debug. Call into the code you wish to debug from the
python interpreter window. Bamm, when the set_trace displays the (Pdb)
prompt in the python interpreter window, pdbtrack hits in and displays
the source file an the overlay arrow, so you can step through it. 

> 
> Any help appreciated, especially if you send answers to me directly! ;-)
> 
> Thanks
> Dave
> --
> ===================================================
>   David Abrahams, C++ library designer for hire
>  resume: http://users.rcn.com/abrahams/resume.html
> 
>         C++ Booster (http://www.boost.org)
>           email: david.abrahams at rcn.com
> ===================================================
> 
> 
> 

-- 

Vennlig hilsen 

Syver Enstad



More information about the Python-list mailing list