Bagikan melalui


How to: Generate Dump Files for 64-bit Applications

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

Topic does not apply Topic does not apply Topic does not apply Topic does not apply Topic does not apply

Pro, Premium, and Ultimate

Topic applies

Topic applies

Topic does not apply

Topic applies

Topic applies

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.

Note

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

  1. On the Debug menu, click Attach to Process.

  2. 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.

  3. Click OK.

  4. On the Debug menu, click Break to break the 64-bit process.

  5. On the Debug menu, click Save Dump As.

  6. In the Save Dump As dialog box, in the Save as type list, click Minidump or Minidump with Heap.

  7. 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.

  8. Click Save.

See Also

Concepts

Dump Files