FIX: Visual C++ Debugger May Not Break on WM_KILLFOCUS Message

Last reviewed: September 16, 1997
Article ID: Q102165
1.00 WINDOWS kbtool kbfixlist kbbuglist kbfasttip

The information in this article applies to:

  • The Microsoft Visual Workbench, included with:

        - Microsoft Visual C++ for Windows, version 1.0
    

SYMPTOMS

If you set a breakpoint in the Visual C++ debugger on a line of code that is executed in response to a WM_KILLFOCUS, execution may not halt at that location when the application closes.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual C++ version 1.5.

This problem does not occur in Visual Workbench includes with Visual C++, 32-bit Edition, version 1.0.

MORE INFORMATION

Microsoft Windows sends an window a WM_KILLFOCUS message immediately before the window loses the input focus. The Visual Workbench debugger properly halts execution on the code after the WM_KILLFOCUS message except when the user closes the application. This behavior occurs without regard to the specified debugging mode, either "hard" or "soft."

This problem does not affect CodeView version 4.1 for Windows included with Visual C++ for Windows.


Additional reference words: 1.00
KBCategory: kbtool kbfixlist kbbuglist kbfasttip
KBSubcategory: WBDebug
Keywords : kb16bitonly WBDebug kbbuglist kbfasttip kbfixlist kbtool
Version : 1.00
Platform : WINDOWS
Solution Type : kbfix


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.

Last reviewed: September 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.