KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q45241: Setting a Breakpoint Highlights More Than One Line

Article: Q45241
Product(s): See article
Version(s): 2.20
Operating System(s): MS-DOS
Keyword(s): ENDUSER | buglist2.20 | mspl13_basic
Last Modified: 7-JUN-1989

When setting a breakpoint, CodeView may highlight two or more lines of
code when you do the following:

1. Compile C program (e.g., "Hello, world") with /Zi /Od.

2. Load CodeView with 50 line mode (in VGA mode) as follows:

      cv /50 hello.c).

3. Display mixed source and assembly.

4. Move the cursor to the edit window and scroll down two or three
   pages of start-up assembly code.

5. Set and remove breakpoints at arbitrary locations. In some cases,
   multiple lines will be highlighted and the display altered. The
   code itself is not changed. To restore the altered display, page
   down and then page up to the altered location.

CVP does display this problem.

Microsoft has confirmed this to be a problem in CodeView Version 2.20.
We are researching this problem and will post more new as it becomes
available.

After setting a breakpoint that highlights more than one line of code,
using the BL command will list only the one breakpoint you set.

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.

Copyright Microsoft Corporation 1986-2002.