I’m trying to debug a compile fail. In the past I’...
# kotlin-native
k
I’m trying to debug a compile fail. In the past I’ve attached a debugger to do that, but it seems that in recent builds it no longer stops at breakpoints. Process here: https://medium.com/@kpgalligan/debugging-kotlin-natives-compiler-3cba9daec076. Wondering if more current builds strip debug info?
To give the use case, the framework compiler is falling over with an llvm error, but there is no indication of what it was trying to process at the time. Debugging may not help, but it has with other things in the past. I’m currently stripping code and rerunning in the hopes that I get some insight, but that’s super, super slow
e
Gradle propery
kotlin.native.disableCompilerDaemon=true
probably can help to use debugger.
k
Didn’t work on first try but I’ll poke around some more. Thanks.