Kotlin MPP Debugging Support

已回答

When trying to debug a Kotlin MultiPlatform Project within AppCode, my breakpoints will stop the program's exection, however, all of my variables just show their memory address, and their type is "ObjHeader".  I have attached an image to show more specifically what I mean.  Any idea how to convert these memory addresses into the actual values, so I can debug properly?

 

My build.gradle is set up very standard, with the single copyFrameworks task copying the kotlin framework into the IOS project.  (I created a Kotlin Multiplatform project using IntelliJ's gui wizard)

1

Hello!

Can you share some information on your environment: which versions of AppCode and Kotlin plugin are you using here?

0

Sure!

 

Appcode: 2019.2.1

Kotlin Plugin: 1.3.50-release-AppCode-192.6262.61-16

0

Thanks. It would also help if you can share a reproducer.

0

Any news on this? I got the same problem with appCode 2019.3.2 on macOS Catalina 10.15.1. Using kotlin mpp with kotlin version 1.3.60.

0

@cmacduff

Can you provide a sample project that this issue can be replicated in? Artyom requested one in September from the original poster, but so far one hadn’t been provided.

0

@cmacduff @Cody1024d The easiest way to share a sample project with us would be to create an issue in Kotlin tracker and attach the project to it.

0

Hello David and Tatiana, unfortunately I can't share a project with you at the moment, but I will create a sample project during the week to share it with you. Thank you for the follow up!

0

请先登录再写评论。