Using a debugger and curses at the same time?

Posted by Matt Joiner on Stack Overflow See other posts from Stack Overflow or by Matt Joiner
Published on 2010-02-07T14:51:48Z Indexed on 2010/04/13 23:53 UTC
Read the original article Hit count: 342

I'm calling python -m pdb myapp.py, when an exception fires, and I'd normally be thrown back to the pdb interpreter to investigate the problem. However this exception is being thrown after I've called through curses.wrapper() and entered curses mode, rendering the pdb interpreter useless. How can I work around this?

© Stack Overflow or respective owner

Related posts about python

Related posts about pdb-python