I'm trying to debug a multiplatform library using ...
# intellij
z
I'm trying to debug a multiplatform library using IDEA and inspect a local variable but it says this error message that I've never seen before during debugging
Copy code
org.jetbrains.kotlin.analysis.api.components.KaCodeCompilationException : org.jetbrains.kotlin.utils.exceptions.KotlinIllegalStateExceptionWithAttachments: Cannot compile a common source without a JVM counterpart
Has anyone else encountered this error? What should I do?
b
Looks like a bug to me
y
Can you please share your module structure? In particular, do you have an implementing JVM module for your
common
module?
z
@yan I'm unable to share code until later this afternoon. I do have a JVM module configured though