Argh.. How do I debug my python-code from the inside of emacs, throw some breakpoints? and fire up the session, check backtraces and so on?
/Andy Experimenting I have come this far: I have put a pdb.bat in my path, containing: "c:\Program Files\Python23\python.exe" -u "c:\Program Files\Python23\Lib\pdb.py" %1 %2 %3 %4 %5 %6 %7 %8 %9 In emacs I do M-x pdb <enter> <enter>, I get the Current directory is h:/WorkingWith/PyLabView/ h:\WorkingWith\PyLabView>"c:\Program Files\Python23\python.exe" -u "c:\Program Files\Python23\Lib\pdb.py" PyLVcomms.py > <string>(1)?() (Pdb) Whatever I try to do now, like doing a step, I get (Pdb) step --Call-- and nothing happens.. restart, doing a "n" (pdb) n twenty;20;abc;3;abc {'twenty': ('int', 20), 'abc': ('string', 'abc')} --Return-- > <string>(1)?()->None (pdb) -- "I [..] am rarely happier than when spending an entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand." -- Douglas Adams, "Last Chance to See" -= May he rest in peace! =- -- http://mail.python.org/mailman/listinfo/python-list