How To Generate Map Files with Line Numbers

Last reviewed: October 10, 1997
Article ID: Q152537
4.00 WINDOWS kbprg kbtool kbhowto

The information in this article applies to:

  • Microsoft Win32 Device Driver Kit (DDK) for Windows 95, version 4.0

SUMMARY

This article describes how to use the Visual C++ linker to generate map files containing line number information for source-level debugging. The following linker switches are used to create this type of map file:

   -DEBUG:FULL
   -DEBUGTYPE:MAP,COFF

MORE INFORMATION

See the Windows 95 DDK for more information on Windows 95 driver debugging procedures.


Additional reference words: 4.00
KBCategory: kbprg kbtool kbhowto
KBSubcategory: DdkMisc
Keywords : DdkMisc kbhowto kbprg kbtool
Version : 4.00
Platform : WINDOWS


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: October 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.