pydb output vanishes when running nosetests doctests

J

jcervidae

Hi Pythonistas:

When pydb.debugger() is launched from within my code or for some other
reason pydb starts from inside a nosetests or doctest, I do not see
any output from it. It appears the test has hung but it hasn't. If I
type commands pydb obeys them I just can't see the results. How can I
stop this? It means I have to make minor little programs to re-create
problems the tests were designed to catch in order to debug.
 
D

Diez B. Roggisch

jcervidae said:
Hi Pythonistas:

When pydb.debugger() is launched from within my code or for some other
reason pydb starts from inside a nosetests or doctest, I do not see
any output from it. It appears the test has hung but it hasn't. If I
type commands pydb obeys them I just can't see the results. How can I
stop this? It means I have to make minor little programs to re-create
problems the tests were designed to catch in order to debug.

Use the "-s"-option which prevents nose from capturing the stdout and not
printing it immediately.

Diez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top