Hey guys, I installed <touchlab/xcode-kotlin> for ...
# multiplatform
l
Hey guys, I installed touchlab/xcode-kotlin for debugging Kotlin code from iOS. the installation seems successful, but Xcode is not hitting the breakpoint for some reason. I also see
Stop hook #1 added.
in Xcode log. The Xcode Project navigation says
Unknown ID
for the break point. what am I missing
j
Do breakpoints in normal Swift code work for you? When the breakpoint visual in the gutter is dashed blue lines, Xcode has a problem usually. Reboot Xcode usually fixes it. Just tried on my side, this was working before, like yesterday as I was able to step thru Kotlin code. Today, no go. Breakpoints are totally ignored in Kotlin side only, bummer. I'm gonna need to research this issue also
👍 1
l
normal Swift breakpoints work
maybe i'm missing something in Xcode build settings?
j
I don't think so, should just work if you followed the instructions. I didn't modify build settings and it worked before.
👍 1
c
xcode has plugin support?
l
@Colton Idle i don't know. I asked this question on the #CTJB58X7X channel: https://kotlinlang.slack.com/archives/CTJB58X7X/p1730313759117119
j
Just an update, today stepping into kotlin shared code from an Xcode break point is working. I can even set the break point in the Kotlin function and Xcode stops there allowing me to step thru the code. Only thing I did was probably restart Xcode.
👍 2