Debugging a GraalVM native image with GDB
In a previous article, I mentioned how to profile a native GraalVM image with perf. If you are not familiar with the GraalVM tool and the limitations it brings, I suggest you reread my article, or at least the beginning of it. As seen in my previous article, a native image will contain a minimalist JVM, called SubstrateVM, which does not support JVM-TI, and therefore does not allow the use of Java debuggers. To debug a native image, you therefore…