This topic applies to:
Edition | Visual Basic | C# | C++ | Web Developer |
|---|
Express | .gif) | .gif) | .gif) | .gif) |
Standard | .gif)
| .gif)
| .gif)
| .gif)
|
Pro and Team | .gif)
| .gif)
| .gif)
| .gif)
|
Table legend:
Dump files, previously called crash dumps, allow you to save program information for debugging later. The Visual Studio debugger can load dump files created by Visual Studio or by other programs that generate dump files. You can also save dump files, but only from native applications.
Dumps can be especially useful if you are testing a program on a machine that does not have source files or PDB Files (C++). When a crash occurs, you can save a dump file on that machine and debug it later on the build machine or another machine that has the source files and PDBs.
There are several ways to create a dump:
The Visual Studio debugger can read dump files that contain information about managed code, unmanaged code, or a mixture of both.
For native code, you can use the normal debugger windows to view dump information.
For managed code, you cannot use the normal debugger windows to view dump information. Instead, you must use a tool called SOS that displays information in the Command window. For information, see SOS.
The following sections contain additional information about debugging a dump:
Concepts
Other Resources