https://kotlinlang.org logo
f

Fabio Bombardi

11/21/2019, 8:08 PM
Hi guys! Is it possible to debug (e.g. setting breakpoints in kotlin code) an mpp library using AppCode while running the iOS project that uses the framework generated from this library?
k

kpgalligan

11/21/2019, 8:21 PM
I haven’t debugged in AppCode in a while, but you should be able to. You’ll probably want to make sure you’re running 1.3.60 as there are debugging improvements
f

Fabio Bombardi

11/21/2019, 8:23 PM
Nope, I'm still with Xcode 10 so I need to use 1.3.50. I'm wondering how could I setup my AppCode project in order to debug my Kotlin code inside my iOS project.
k

kpgalligan

11/21/2019, 8:25 PM
It’ll debug now, or it used to be able to, but the lldb formatter out of the box was not optimized for a visual tool. It is in 1.3.60. You can use Xcode to debug, but the xcode plugin is targeted at Xcode 11 and you’ll kind of need to go back in time to install
f

Fabio Bombardi

11/21/2019, 8:26 PM
Hey! Thanks a lot @kpgalligan! I'll check it out!
Didn't know this plugin!
1
For earlier versions, please see xcode10 branch. Life moves on, and we'll only be supporting Xcode 11+.
k

kpgalligan

11/21/2019, 8:29 PM
Ah, yeah. I did do that.
f

Fabio Bombardi

11/21/2019, 8:29 PM
Sooner or later I had to move on too [-;
@kpgalligan you did it! I see now! How could I say... thanks again! 💯
👍 1
4 Views