[comp.windows.ms] Redirecting Output of Debugging Windows

kipnis@janus.Berkeley.EDU (Gary Kipnis) (10/30/89)

Hi, when using debugging version of windows to test my programs when an
error occurs windows tries to write to the serial port where a monitor
should be connected.  I don't have a second monitor connected so is there a
was to redirect this debugging output from the serial port to some file
on the disk?
The main reason for doing this is that windows doesn't let me do anything
untill it successfully writes to the serial port and I just have to reboot
the machine.

Thank you for any information,

gary

mcdonald@aries.uiuc.edu (Doug McDonald) (10/30/89)

In article <32251@ucbvax.BERKELEY.EDU> kipnis@janus.Berkeley.EDU (Gary Kipnis) writes:
>Hi, when using debugging version of windows to test my programs when an
>error occurs windows tries to write to the serial port where a monitor
>should be connected.  I don't have a second monitor connected so is there a
>was to redirect this debugging output from the serial port to some file
>on the disk?
>The main reason for doing this is that windows doesn't let me do anything
>untill it successfully writes to the serial port and I just have to reboot
>the machine.
>

I had this problem also, so I hooked up a PC Portable as a terminal.
It reproduced screen after screen after screen of useless garbage
that said, quite clearly "I am totally corrupted", and then died. So
I now simply reboot my machine (twice?? Why do I have to do it
TWICE?) when the garbage starts, and use debugging statements in my program.

Doug McDonald