barry at python.org
Fri May 1 22:54:51 CEST 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 304 bytes
Desc: This is a digitally signed message part
More information about the Python-mode