Debugger process finished with exit code -1073741511 (0xC0000139)

Project is Kotlin/Native.

Title is self-explanatory - I am unable to debug my project in any way: with the default run configuration I get the error mentioned in the title, if I run gradleRunDebugExecutable or check in debug mode, it runs without stopping on any breakpoints, although the log tries to claim Connected to the target VM, address: '', transport: 'socket'. This issue appeared after updating to the latest version of IntelliJ Ultimate, 2021.2.3.