PRB: Errors When Windbg Switches Not Set for Visual C++ App

Last reviewed: June 22, 1995
Article ID: Q131111
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) for Windows NT version 3.5

SYMPTOMS

If two switches are not set correctly, Windbg gives the following error message when the module is loaded:

   (symbol format not supported)

In addition, Windbg gives the following error message for any breakpoints set in the module:

   Unresolved Breakpoint

CAUSE

For Windbg to understand the symbolic format generated from Microsoft Visual C++ version 2.0, two linker switches have to be set correctly:

  • /DEBUG is set in the Project Settings dialog box, under the Link tab. Choose the Debug category. Then select the Generate Debug Info check box, and choose Microsoft Format.
  • /PDB:none is set in the Project Settings dialog box, under the Link tab. Choose the Customize category. Then clear the Use Program Database check box.

STATUS

This behavior is by design.


Additional reference words: 3.50
KBCategory: kbtool kbprb
KBSubcategory: TlsWindbg


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: June 22, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.