PRB: CodeView Skips Over a Line of Source Code (46010)
The information in this article applies to:
- Microsoft CodeView for MS-DOS 2.2
- Microsoft CodeView for MS-DOS 3.0
- Microsoft CodeView for MS-DOS 3.11
- Microsoft CodeView for MS-DOS 3.14
- Microsoft CodeView for MS-DOS 4.0
- Microsoft CodeView for MS-DOS 4.01
- Microsoft CodeView for MS-DOS 4.05
- Microsoft CodeView for MS-DOS 4.1
- Microsoft CodeView for Windows 3.0
- Microsoft CodeView for Windows 3.05
- Microsoft CodeView for Windows 3.06
- Microsoft CodeView for Windows 3.07
- Microsoft CodeView for Windows 4.0
- Microsoft CodeView for Windows 4.01
- Microsoft CodeView for Windows 4.1
This article was previously published under Q46010 SYMPTOMS
CodeView does not recognize a breakpoint set in an application. If you run
the program, execution does not stop on the breakpoint. If you single-step
through the code, CodeView steps past the specified line. This problem also
occurs in the QuickC and Visual C++ integrated debuggers.
CAUSE
This behavior occurs because CodeView is line-based and the C compiler is
token-based.
RESOLUTION
This restriction is inherent in the CodeView design. To work around this
behavior, select mixed source code and assembly language mode and place the
breakpoint on the correct line of assembly language code.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kb16bitonly kbBug kbDebug kbprb KB46010 |
---|
|