PRB: IDE May Skip Some TRACE Statements Sent in Quick Succession (218007)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Visual C++, 32-bit Professional Edition 6.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Visual C++, 32-bit Learning Edition 6.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
This article was previously published under Q218007 SYMPTOMS
While debugging a Visual C++ application, if TRACE statements are sent to the output window consecutively in quick succession, the IDE tends to skip some statements.
CAUSE
When TRACE statements are sent in quick succession, the IDE buffers the strings. It tries to keep the screen output current, so in the event of too many calls to OutputDebugString to accomplish that, some lines are skipped.
RESOLUTION
Currently, there is no workaround to this problem. _RPT() and the SDK sample DBMON, which is a similar utility, could be used if all the consecutive TRACE statements need to be captured in the output window, while debugging.
STATUS
This behavior is by design.
REFERENCES
(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Vidyanand N. Rajpathak, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 12/2/2003 |
---|
Keywords: | kbBug kbCRT kbDebug kbprb KB218007 |
---|
|