Exploring K/N for a while now, and how do I debug ...
# kotlin-native
v
Exploring K/N for a while now, and how do I debug native builds (eg.
macosArm64Debug
build) in IDEA with breakpoints just like we debug JVM apps?
h
AFAIK you need IntelliJ Ultimate and this plugin: https://plugins.jetbrains.com/plugin/12775-native-debugging-support according to the docs
v
Somehow the reviews aren't positive, says it doesn't work, not sure. I tried the LLDB tool that comes bundled with the
~/.konan
collection, but was looking for IDE-based options. Also tried the CodeLLDB plugin on VSCode, it works somewhat, pauses at breakpoints in the IDE, but doesn't give out object details when inspecting.