Article ID: 296110 - View products that this article applies to.
This article was previously published under Q296110
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 MeYou 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.0When 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.
During the last stage of the Microsoft Visual C++ installation, you receive the following message:
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.You can access the default starting point for this function in the following way:
For easier application debugging, it is strongly recommended that you install these files. See the Visual C++ Readme file for more information.
Click Exit to stop the installation program.
The version of the file does not match the corresponding dll on your machine. Do you want to copy it?
Then you receive another error message, as follows:
A list of Windows NT debug symbol files from the Visual C++ installation CD appears, as follows:
Not all symbol files are successfully installed on your system.
Windows 2000On 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 link:
For information about how to install the debug symbols, visit the following Microsoft Web site:
Directory name not a valid NT system directory.
For the current debug files and tools, visit the following Microsoft Web sites:
NOTE: 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:
(http://support.microsoft.com/kb/141465/EN-US/ )How to Install Symbols for Dr. Watson Error Debugging
(http://support.microsoft.com/kb/148659/EN-US/ )How to Set Up Windows NT Debug Symbols
(http://support.microsoft.com/kb/148660/EN-US/ )How to Verify Windows NT Debug Symbols
(http://support.microsoft.com/kb/138258/EN-US/ )Windows NT Debug Symbol Setup Information
Article ID: 296110 - Last Review: October 24, 2012 - Revision: 3.0