Blog posts explaining native state and concurrency...
# kotlin-native
k
Blog posts explaining native state and concurrency. We’ve been teaching folks internally and I’ve been making verbal promises for months, so here’s the first bits: https://twitter.com/kpgalligan/status/1082295480569212929
💯 2
K 1
👍 14
c
Checked out the StrangerThreads sample from Github. Tests run fine from the command line but I can’t seem to run them from within IntelliJ — this is a problem I have had with other KN projects. Anyone else having any luck with that?
k
I can’t get that to work either. You can run specific tests with command line switches
#Runs specific test. Pass in test name. ./gradlew linkTestDebugExecutableMacos ./build/bin/macos/test/debug/executable/test.kexe --ktest_regex_filter=.$1.
bash script
c
Is this a general problem with KN projects that the tests don’t work well in IntelliJ? Trying to make it work is a time sink for me
k
I would guess it’s a temporary situation. Lots of stuff happening. Interactive debugging would be on my wish list. I did get lldb command line debugging to work, but am mostly logging
👍 1
r
You can get part-way by adding an IDE run configuration to run the gradle commands. For most of my multiplatform projects I have a run config for
clean build check
. For pure native all this really gets you though is a quicker keyboard shortcut instead of typing a command.
👍 1