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

ID: Q131111


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK), version 3.5
    on the following platforms: NT


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 query words: 3.50


Keywords          : 
Version           : WINDOWS:3.5
Platform          : WINDOWS 
Issue type        : 


Last Reviewed: October 11, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.