[wingide-users] How to print to the application output (debug i/o) from the debug probe?

Wing IDE Support support at wingware.com
Wed Dec 1 14:39:19 MST 2010


On 12/1/10 3:39 PM, Russell Warren wrote:
> When in the middle of a debugging session and you issue a print
> statement in the debug probe window, the print statements don't show up
> in the debug i/o window.  They only show up in the probe window where
> you issued the statement.

This is by design.

> Is there some way to direct output to debug i/o from the debug probe?  I
> tried stdout and stderr directly but both route to the debug window.

It looks like sys.__stdout__.write() will work, at least on Windows.

Cheers,

John


More information about the wingide-users mailing list