Debugging Myrian after it crashed

This article describes how to retrieve context information once Myrian has stopped working, using dump files.

Creating a dump file

When Myrian crashes, the following window may appear (or another of its variants).
myrian_crash

Do not close the window. Instead, open the Task Manager, right click on Myrian and Create a dump file.
dump_file
Once the dump is done, you can close Myrian.

Opening a dump file

Open Visual Studio. Myrian and Visual should use the same code version in order to make full use of the dump file.

Open the dump file, menu “File/Open/File”.

A file summary appears. Click on “Debug with Native Only”.

minidump

If you used a single version of Myrian, everything will be as if Myrian was launched in Release linked with Visual Studio. It means you will have the call stack, the line causing the crash and you will be able to go through the different running threads through the parallel stack.

Leave a Reply