This article shows you how to install the debug symbols for
Microsoft Visual Studio 6.0 on computers running Microsoft Windows 95,
Microsoft Windows 98, Microsoft Windows Me, Microsoft Windows NT 4.0, and
Microsoft Windows 2000. The article also describes some problems that may occur
when you install the debug symbols.
The following information shows you how to install the
debug symbols on the different operating systems.
Windows 95, Windows 98, and Windows Me
You debug programs on a computer running Windows 95, Windows 98,
or Windows Me differently than how you debug programs on a computer running
Windows NT or Windows 2000. The symbol files are in a different format. The
symbols (.sym files) that are used by the Windows 95, Windows 98, and Windows
Me systems cannot be read by other debuggers (for example, windbg, cdb, and
msdev). These symbols must be used with the Windows 95, Windows 98, and Windows
Me debugger (wdeb386/wdeb98/debugger.exe).
To debug a program on a
computer that is running Windows 95, Windows 98, or Windows Me, you have two
choices, as follow:
1. If some other debugger (for example, windbg or msdev) can read the program's symbols, attach to the program's process with that debugger when it crashes. Or, start the program from that debugger so that you can debug that program.
2. If the program has .sym files that the Windows 95, Windows 98, or Windows Me debugger can load, then load those symbols in the debugger. Run the program under the debugger until the crash occurs, and then debug it. The Windows 95, Windows 98, or Windows Me debugger is not kernel-mode-only, as is the Kernel Debugger.
Windows NT 4.0
When you install Visual Studio, you also install the debug
symbols of the Windows NT 4.0 base version. If you install any service packs on
Windows NT 4.0, the correct symbols will not be installed.
last stage of the Microsoft Visual C++ installation, you receive the following
Setup has installed an icon in the Microsoft Visual C++ 6.0 Tools program group that will allow you to install a subset of the Windows NT system symbols (.DGB) files from your Visual C++ CD-ROM. If the symbols are not installed, the Visual C++ debugger is not always able to determine the
content of called functions.
For easier application debugging, it is strongly recommended that you install these files. See the Visual C++ Readme file for more information.
You can access the default starting point for this function in
the following way:
- Click Start, point to Programs, point to Microsoft Visual Studio 6.0, point to Microsoft Visual Studio, and then click Windows NT Symbols Setup.
After the initial instructions appear, you receive the
- Please insert the VC 6 CD_ROM disk into Your CD-ROM drive.
Select Continue to proceed with the installationThe CD requested is
installation disk Number One from Visual Studio or Visual C++
- The CD requested is installation disk Number One from
Visual Studio or Visual C++ stand-alone.
Even when you perform a clean installation, you receive the
following error message:
The version of the file
does not match the corresponding dll on your machine. Do you want to copy it?
to stop the installation program.
Then you receive
another error message, as follows:
Not all symbol
files are successfully installed on your system.
A list of Windows
NT debug symbol files from the Visual C++ installation CD appears, as follows:
On systems that are running Windows 2000, you receive the
following error message when you try to install the symbols from the Start-Programs-Microsoft Visual Studio 6.0-Visual Studio 6.0 Tools-Windows NT Symbols Setup
Directory name not a valid NT system
For information about how to install the debug symbols,
visit the following Microsoft Web site:http://www.microsoft.com/whdc/devtools/ddk/default.mspx
For the current debug files and tools, visit the following Microsoft Web
The installation information link shows you how to
locate the .dbg files on the installation CD.
For additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
How to Install Symbols for Dr. Watson Error Debugging
How to Set Up Windows NT Debug Symbols
How to Verify Windows NT Debug Symbols
Windows NT Debug Symbol Setup Information