On May 1, 2009, at 4:50 PM, Andreas Roehler wrote:

Hhm. Could you give me an example, how you run script activating pdbtrace, reaching
the standard (pdb) prompt from Emacs?

I almost always just add the following line to the source code at the point I want to start debugging:

    import pdb; pdb.set_trace()

Then I fire up my application from the shell. When that line gets it, Python breaks and pdbtrack starts up. It's worked pretty much that way for me since forever.

-Barry

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to