How to: Generate Dump Files for 64-bit Applications
This topic applies to:
Edition |
Visual Basic |
C# |
F# |
C++ |
Web Developer |
---|---|---|---|---|---|
Express |
|||||
Pro, Premium, and Ultimate |
Visual Studio 2010 lets you debug dump files for 64-bit applications. Debugging 64-bit dump files requires access to a 64-bit computer, either locally or remotely.
The following procedures explain how to generate a dump file for a 64-bit application. Debugging a 64-bit dump file must be performed on a 64-bit computer.
Dump files can be large, especially if you save a dump file as Minidump with Heap. Saving a dump file as Minidump, without the heap, will generate a smaller file. Without the heap, Visual Studio 2010 cannot load symbols and debug unless it has access to the binaries.
Poznámka
Remote debugging is not required if you have Visual Studio 2010 installed on a 64-bit computer and can debug locally.
To save a dump file for a 64-bit application
On the Debug menu, click Attach to Process.
In the Attach to Process dialog box, choose the remote computer where the 64-bit application is running, and select the process corresponding to the application. For more information, see How to: Attach to a Running Process.
Click OK.
On the Debug menu, click Break to break the 64-bit process.
On the Debug menu, click Save Dump As.
In the Save Dump As dialog box, in the Save as type list, click Minidump or Minidump with Heap.
Use the navigation controls to select a save location.
This location will be on the remote computer, and the path is as it appears from the remote computer.
Click Save.