Debugging
Learn how to debug the Kakara Engine!
Logging
compile "org.slf4j:slf4j-simple:1.8.0-beta4"compile("org.slf4j:slf4j-simple:1.8.0-beta4")<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.8.0-beta4</version>
</dependency>LWJGL Debugging
// Debug Memory Allocator
Configuration.DEBUG_MEMORY_ALLOCATOR.set(true);
// Other LWJGL debug flags.
System.setProperty("org.lwjgl.util.Debug", "true");
System.setProperty("org.lwjgl.util.NoChecks", "false");
System.setProperty("org.lwjgl.util.DebugLoader", "true");
System.setProperty("org.lwjgl.util.DebugAllocator", "true");
System.setProperty("org.lwjgl.util.DebugStack", "true");JVM Crashes
Last updated
Was this helpful?