The information in this article applies to:
SUMMARY
If character strings passed as arguments to the OutputDebugString() API do
not end with a newline character \n, corrupt output appears in the
Integrated Debugger's Output Window. In addition, a general protection
fault (GP) fault can occur in MSVC.EXE.
The Microsoft Foundation Classes (MFC) TRACE() macro and CDumpContext class
both use the OutputDebugString() API to send information to the Integrated
Debugger's Output window. Therefore, using a character string without a
newline character with the MFC TRACE() macro or CDumpContext class, will
also cause this problem.
Avoid passing strings that do not have an appended newline character to
OutputDebugString(), TRACE(), and CDumpContext objects.
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This problem was not reproducible in
Microsoft Visual C++, 32-bit Edition, version 4.0. http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. MORE INFORMATIONSteps to Reproduce Problem
Additional query words: GPF
Keywords : kbfile kbpatch kbDebug kbide |
Last Reviewed: December 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |