Debugging with GoLand – Windows minidumps
- Debugging with GoLand – Getting Started
- Debugging with GoLand – Essentials
- Debugging with GoLand – Advanced Debugging features
- Debugging with GoLand – Windows minidumps (this post)
A while back we talked about debugging the core dumps produced on Linux systems.
Since then, the IDE has had an update that allows it to debug the equivalent memory dumps produced on Windows systems, called minidumps. As with core dumps, minidumps can be analyzed on any operating system, not just on Windows.
Let’s start with getting the minidump itself. As with coredumps, set the Output Directory of the run configuration; this is where the binary will be created (you can find the code in this repository).
Then, start the application and use it as usual. When you are ready, open the Task Manager, go to Processes, select your application and then right-click it and select Create dump file. This will give you a location for the minidump file, such as
Now, go to Run | Open Core Dump… , select the application binary, the minidump generated above, and the IDE will show the debugger window.
That’s it for today. Please let us know what feedback you have in the comments section below, on Twitter, or on our issue tracker. We are also looking for your thoughts on what topics you would like to see covered next.
Subscribe to Blog updates
Does Machine Learning in Go Have a Future?
In this article, you'll explore the challenges of actively using Go for Machine Learning.
OS in Go? Why Not?
In this article, you'll learn why languages like C have a stronghold over OS development and whether writing an OS using Go is possible.
Comparing database/sql, GORM, sqlx, and sqlc
This article compares the database/sql package with 3 other Go packages, namely: sqlx, sqlc, and GORM. The comparison focuses on 3 key areas – features, ease of use, and performance.