When debugging a multiplatform ktor app, the wrong source is selected by defaukt among the available ones, as in i’m debugging jvm ktor server multiplatform app, and getting the mac source by default
Is there anyway to configure this?
a
Anton Mefodichev
09/08/2023, 1:43 PM
Hello @Ido Flax, can you please attach a simplified project with the issue reproduction? In addition, please clarify what IDEA version do you use? Thank you!
IntelliJ IDEA 2023.2 (Ultimate Edition)
Build #IU-232.8660.185, built on July 26, 2023
Runtime version: 17.0.7+7-b1000.6 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.5.1
GC: G1 Young Generation, G1 Old Generation
Memory: 10240M
Cores: 10
Metal Rendering is ON
Registry:
idea.ignore.disabled.plugins=true
ide.experimental.ui=true
Kotlin: 232-1.9.0-IJ8660.185
a
Anton Mefodichev
09/14/2023, 4:03 PM
@Ido Flax, can you please also clarify on what commit does the issue occur? Where do you set a breakpoint? Thank you!
i
Ido Flax
09/14/2023, 6:53 PM
@Anton Mefodichev Sorry i moved that code to another repo, (like a test repo for this lib) i’ll publish and let u know when it’s there
Ido Flax
09/15/2023, 4:03 PM
@Anton Mefodichev At the moment i can’t recreate it, it’s possible that’s it was happening only when i was debugging the consuming project of an MPP lib when that project was in the same repo as the lib. I’ll let you know if it happens again, thanks for your attention 🙂