Exploring Windows minidumps
warning
You can create Windows minidumps only on the Microsoft Windows operating system. But you can analyze and debug your application on all supported operating systems.
Windows minidump files record the state of a program as it is running, or as at the moment of a crash. To read a minidump file, you must have the binaries of your application and the dump file.
Open the Run/Debug Configuration dialog in one of the following ways:
Select Run | Edit Configurations from the main menu.
With the Navigation bar visible (View | Appearance | Navigation Bar), choose Edit Configurations from the run/debug configuration selector.
Press and then press .
In the Run/Debug Configuration dialog, click the Add New Configuration icon () on the toolbar or press . The list shows the default run/debug configurations. Select the desired configuration type (for example, Go build).
The fields that appear in the right-hand pane display the default settings for the selected configuration type.
In the Name field, type the configuration name.
In the Files field, add the name of the file that you want to run (for example, main.go).
In the Output Directory field, specify the path where you want to store the created binary file.
Apply the changes and close the dialog.
Start the application and use it as usual.
You can run the generated EXE file or run the application from IntelliJ IDEA. To run the application from IntelliJ IDEA, click the Run icon in the gutter near the main function and select Run 'go build <configuration_name>'.
Open the Windows Task Manager Ctrl+Alt+Delete, click the Processes tab.
Right-click your application and select Create dump file.
Navigate to Run | Open Core Dump.
In the Executable field, specify a path to the EXE file.
In the Core Dump field, specify a path to the dump file.
Click OK.