Microsoft KB Archive/32322

INF: Programs Crash Accessing AUX Port Under Debug Version

PSS ID Number: Q32322 Article last modified on 11-04-1993

2.03 2.10 3.00 WINDOWS

= SUMMARY =

Some programs that run properly under retail Windows crash when trying to access the AUX port if run under the debug version of Windows. This is because, under the debug version of Windows, the Kernel, User, and GDI do much more extensive error checking. If an error is found, the Kernel dumps the error and a stack trace to the AUX port. This causes an error if the port does not exist. To run the debugging Kernel, there must be a terminal or other machine connected to COM1. The command, “MODE COM1:9600,N,8,1”, (or whatever settings are appropriate) must then be executed before entering Windows. This command can be placed in the AUTOEXEC.BAT file. To test if the debugging Kernel is working properly, enter “dir > com1”. Alternatively, this can be done on a monochrome display by putting OX.SYS in the CONFIG.SYS file and using: symdeb /m …….. OX.SYS redirects all I/O for the AUX port to the main keyboard and to the monochrome display. OX.SYS can be found in the Software/Data Library by searching on the keyword OX, the Q number of this article, or S12005. OX was archived using the PKware file-compression utility. In Windows version 3.0, the WDEB386 debugger can be used with the debug version of Windows. For more information on WDEB386, query on the following words in this Knowledge Base: wdeb386

Additional reference words: 2.03 2.10 3.00 KBCategory: KBSubcategory: KrDebugMisc Copyright Microsoft Corporation 1993.