Morning guys, what is the best way to debug ios ap...
# multiplatform
j
Morning guys, what is the best way to debug ios app with KMP ? I'm currently using android studio, but I'm struggling with debugging a lot.. • preview of variables (in variable tab) is usually very slow (takes a second or so to load one, so having multiple there is just extremely slow and painful) • LLDB is basically unusable (or maybe not sure how to use it), comparing to usage in xcode when I can execute simple code for exploring content of variables etc just doesn't work at all, usually saying that variables are undeclared etc • any usage of evaluate window (alt+f8) is basically same as lldb window, nothing really works is there something what I'm missing like extra plugin, or this doesn't really work at this stage of KMP ?
m
Have you tried the Fleet IDE? Also developed by JetBrains.
j
not yet, just about to look at it... is it better there ?
m
It’s really good for what you’re asking. It easily lets you debug both iOS and Android code. You can seamlessly navigate and jump between both languages. Try it, it’s pretty good for KMP development.
j
do unit tests work for you ? seems like it's just don't run 😕
strangely, it can't properly execute common nor ios unit tests... it's failing because of no junit... so I guess not much useful for me unfortunately at this moment...
m
If you have questions on the fleet IDE you can ask them in the #fleet channel. You’ll get some good feedback there
👍 1
a
From what I know, a good support for native debugging is in IntelliJ Ultimate with Native Debugging pluging — but it’s paid. I’m also trying to find a way for this kind of debugging and currently looking into LLDB plugins for VSCode, they seem to be more stable than current preview version of Fleet.
j
@Alex Dmitriev thanks I'll try it, I do have ultimate version, though iirc I use AS because of the "KMP" plugin which doesn't (or didn't last time I checked) work elsewhere...
a
Not sure about mobile-specific KMP features in IntelliJ, I’m developing a native app in IntelliJ, and KMP seems to work fine
j
yeah, the plugin is somehow enabling/adding "compile/run" feature for iOS through android studio, and that's only for Android Studio (if I'm not mistaken)
👾 1
498 Views