Article ID: 116183
Article Last Modified on 10/23/2003
APPLIES TO
- Microsoft CodeView 4.0
- Microsoft CodeView 4.01
- Microsoft CodeView 4.1
- Microsoft CodeView 4.0
- Microsoft CodeView 4.01
- Microsoft CodeView 4.1
This article was previously published under Q116183
SYMPTOMS
Using the PR command (Stop After Return) on a large function, or
on a function with long iterative loop, causes CodeView to appear to
hang.
CAUSE
The PR command is inefficient when used on large functions because it is
too slow. In the case of the example below, there is no activity. Locals
and watch expressions do not get updated, and IP tracking is inactive.
Furthermore, CTRL+BREAK, CTRL+C, AND CTRL+ALT+SYSREQ do not terminate the
PR command because CodeView is receiving single step notifications fast
enough that the system is likely not getting a chance to process them.
RESOLUTION
To work around this problem, refrain from using the PR command on
large functions, or those with long iterative loops. Instead, set a
breakpoint at the location you wish CodeView to stop, or move the
cursor to that location and press F7 to Run-To-Cursor.
STATUS
Microsoft has confirmed this to be problem with CodeView for MS-DOS,
versions 4.0, 4.01, and 4.1, and CodeView for Windows, versions 4.0, 4.01,
and 4.1. We are researching this problem and will post more information in
the Microsoft Knowledge Base as soon as it becomes available.
Additional query words: 4.00 4.01 4.10
Keywords: kb16bitonly KB116183