Jump to content

How to create a crash dump file manually on Windows 10


mood

Recommended Posts

How to create a crash dump file manually on Windows 10

You can create crash dump files manually to troubleshot problems with apps, and in this guide, we'll show you two ways to complete this task.

 

windows-10-create-dump-file-manually.jpg

Source: Windows Central

 

On Windows 10, a crash dump file is usually created automatically when a critical error occurs with the information about the system memory, which you can then use to analyze and determine the reason for the issue.

 

Although these files are created automatically, sometimes, it may also be necessary to make them manually. For instance, when the app is not responding, and you have to send details to technical support for analysis and troubleshooting purposes. Or if you are building an application, and you need to find out why it's using a lot of system resources, such as processor and memory.

 

Regardless of the reason, on Windows 10, you have at least two ways to create an app crash dump file using Task Manager and Command Prompt with the ProcDump tool.

 

In this Windows 10 guide, we will show you two ways to create a crash dump file for an application.

How to create crash dump file with Task Manager

To create a crash dump file with the Windows 10 Task Manager, use these steps:

  1. Open Start.
  2. Search for Task Manager and click the top result to open the app.
  3. Click the Processes tab.
  4. Right-click the application or process and select the Create dump file option.
     

    create-dump-file-task-manager-windows-10
    Source: Windows Central
     

  5. Click the Open file location button.
     

    dumping-process-traskmanager.jpg
    Source: Windows Central
     

  6. Right-click the .dmp file and select the Cut option.
  7. Navigate to the folder you want to store the file.
  8. Right-click the folder and select the Paste option.

 

Once you complete the steps, the dump error file will be created. If you need to open the file to diagnose the problem, you can use these instructions.

How to create cash dump file with Command Prompt

Alternatively, you can also use ProcDump, which is a command-line tool available through the Microsoft Sysinternals website that allows you to monitor a program for processor spikes and generate a crash dump, which you can then use to determine the cause of the problem. However, you can also use the tool to create crash dumps with Command Prompt manually.

To create an app crash dump file with command lines, use these steps:

  1. Open Microsoft Sysinternals website.
  2. Click the Download ProcDump link.
     

    download-procdump-command-tool.jpg
    Source: Windows Central
     

  3. Open the zip file containing the ProcDump tool and extract its content.
  4. Open Start.
  5. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  6. Type the following command to open the ProcDump folder and press Enter:

    cd C:\PATH-TO-APP\Procdump

    In the command, make sure to update the path with the location of the folder with ProcDump files.

  7. Type the following command to create a (mini) dump file of a running application and press Enter:

    procdump APP-NAME

    In the command, replace APP-NAME for the executable name of the app.

    This example creates a dump error file for File Explorer:

    procdump explorer
     

    procdump-create-dump-app-manually.jpg
    Source: Windows Central
     

  8. (Optional) Type the following command to create a dump file using the process ID and press Enter:

    procdump PROCESS-ID

    In the command, replace PROCESS-ID with the actual ID of the process or application.

    This example creates a dump error file for File Explorer with the process ID of 6112:

    procdump 6112

    Quick tip: You can always find the process ID (PID) of an application in the Details tab of Task Manager or using the tasklist command.

  9. Type the following command to create a full dump file for an application and press Enter:

    procdump -ma APP-OR-PID

    In the command, replace APP-OR-PID for the name or process ID of the app.

    This example creates a full dump file for File Explorer:

    procdump -ma explorer
     

    full-crash-dump-app-windows-10-cmd.jpg
    Source: Windows Central
     

    Quick note: A full dump file contains everything available in memory related to the application. In contrast, a mini dump file is only several megabytes in size, and it includes basic information about the application.

  10. Confirm the location of the .dmp file.

 

After you complete the steps, the crash dump file will be created (usually) in the folder with the ProcDump files.

 

We are focusing this guide on the basics of creating a crash dump file, but you can use the procdump /? to learn about all the options available with the utility.

 

 

Source: How to create a crash dump file manually on Windows 10

Link to comment
Share on other sites


  • Views 1.1k
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...