Post-mortem debugging of a Mono AOT-compiled program

view story

http://stackoverflow.com – I have a large program, written in C# and running on Linux systems using Mono, that occasionally crashes and causes the mono.bin process to dump core. I ran gdb on some of the core dump files, but it wasn't very useful because the backtraces don't have the names of the C# functions in them. According to this discussion I found: It won't work. The information required to construct managed stack traces is contained in runtime data structures, and it is only available while the program is running. You can AOT your application, then you will have more usable stack traces. So, I did. (HowTos)