BUG: /N1 Switch Does Not Function Properly in CodeView

Last reviewed: July 22, 1997
Article ID: Q116465
4.00 4.01 4.10 MS-DOS kbtool kbcode kbbuglist

The information in this article applies to:

  • Microsoft CodeView for MS-DOS, versions 4.0, 4.01, and 4.1

SYMPTOMS

CodeView, versions 4.0, 4.01, and 4.1, always traps non-maskable interrupts (NMI) in programs being debugged, regardless of whether you use the /N0 or /N1 CodeView options, which are supposed to trap NMIs.

STATUS

Microsoft has confirmed this to be a bug in CodeView for MS-DOS. We are researching this problem and will post more information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

You can use the sample code below to demonstrate this problem. Build the application for debug mode and load it into CodeView, version 4.10, using the /N1 switch. When the program is run by pressing F5, the NMI breakpoint is reported and the program breaks.

Sample Code

/* Compile options needed:  /Zi
*/

   #include <stdio.h>

   void main( void )
   (
       _asm int 2;
       printf( "Hello World.\n" );
   }


Additional reference words: 4.00 4.10
KBCategory: kbtool kbcode kbbuglist
KBSubcategory: CvwIss
Keywords : kb16bitonly


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.