Debugging on windows via print statements -- reliable?

Nick Arnett narnett at mccmedia.com
Mon Mar 25 09:40:01 EST 2002


> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of John Roth

[snip]

> Since you're running a console app, I'd suggest two
> changes to your test setup.
> 
> 1) Execute the program from the DOS prompt, not from
> PythonWin.
> 2) Redirect stdout to a file.
> 
> The first suggestion is simply to eliminate one possible
> variable - if switching to a raw command prompt changes
> something, you've got more data, if it doesn't, you've
> eliminated a possible candidate.

Already tried both...  In fact, that's how I've usually been testing.

But thanks.

Nick




More information about the Python-list mailing list