is the `Kotlin Bytecode Viewer` actually decompili...
# compiler
r
is the
Kotlin Bytecode Viewer
actually decompiling binaries or just making a best effort based on the sources presented? I have a compiler plugin injecting stuff in the bytecode that I don’t see in the bytecode viewer. What do people use to debug emitted bytecode when working with compiler plugins? thanks!
i
It calls the compiler, built into plugin with predefined flags. As for your second question, javap should work just fine. I personally use a asm-based bytecode reader, since its output resembles the bytecode viewer output. Also, javap sometimes fails to disasm complicated suspend functions. Also also, I can write queries to bytecode in kotlin.
r
thanks @Ilmir Usmanov [JB] I’ll continue with javap