How to Automatically Create a Dump File on Crash for Studios, Standalone Tools, and MiniTools

How to Automatically Create a Dump File on Crash for Studios, Standalone Tools, and MiniTools

If a crash occurs, you can configure the system to automatically create a dump file for debugging purposes. Follow the steps below to create the required registry keys for different products, such as dbForge Studio, Standalone Tools, and MiniTools.

Steps to Configure Automatic Dump File Creation:

  1. Open the Registry Editor:

    • Press Start, type Regedit, and press Enter to open the Registry Editor.
  2. Navigate to the following path:

    • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting
  3. Create a new key:

    • In the Windows Error Reporting folder, right-click and select New > Key.
    • Name the new key LocalDumps.
  4. Create a subkey for your application:

    • Inside LocalDumps, create a new subkey with the name of the executable file for your application (e.g., dbForge_Studio_for_MySQL.exe for dbForge Studio).
  5. Add the following values to the application’s executable key:

NameTypeDataDescription
DumpFolderString ValueD:\current_product_CrashesFolder where the dump files will be saved.
DumpTypeDWORD (32-bit) Value22 for a full dump.
CustomDumpFlagsDWORD (32-bit) Value1124Additional custom dump settings.

Instructions for Adding Values:

  1. Create the DumpFolder value:

    • Select the newly created subkey (e.g., current_product.exe) in the tree on the left.
    • Right-click on the right side of the Registry Editor window and choose New > String Value.
    • Name the value DumpFolder.
    • Double-click the new DumpFolder value and set the data to: D:\current_product_Crashes.
  2. Create the DumpType value:

    • Right-click again on the right side and choose New > DWORD (32-bit) Value.
    • Name it DumpType.
    • Double-click the new DumpType value and set the data to: 2.
  3. Create the CustomDumpFlags value:

    • Right-click once more and choose New > DWORD (32-bit) Value.
    • Name it CustomDumpFlags.
    • Double-click CustomDumpFlags and set the data to: 1124.

Final Result:

After following these steps, your registry should look like this:

  • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\current_product.exe