Hello my kotlin friends! I'm developing a kotlin m...
# kotlin-native
p
Hello my kotlin friends! I'm developing a kotlin multiplatform project on Windows and my question is related to a kotlin native unit test. The test runs fine without a debugger. However, if I run with debugger attached then I get an error in an auto-generated file called
ijresolvers.gradle
:
Copy code
initialization script 'C:\Users\ptran\AppData\Local\Temp\1\ijresolvers.gradle': 268: unexpected char: '\' @ line 268, column 106.
     sk.path, 'DEBUG_SERVER_PATH=C:\Users\ptr
The error has to do with the path separator '\'. Unfortunately I'm on Windows so the path separator needs to be double-backslash, ie
Copy code
C:\\Users\\ptr ...
This seems it has to do with with Android Studio's JVM debugger. What tool generates the file
ijresolvers.gradle
?
a
Hello, @Peter Tran! This is a bug, and thank you for pointing it out! I’ve made a ticket on youtrack , see here. In future, if you face a problem which seems to be a bug, feel free to report it using this link kotl.in/issue. It might be a little better than asking in Slack, as it will be looked through anyway, while a post here could get lost in the feed easily.
p
Thank you @Artyom Degtyarev [JB], you're right about getting lost in the feed, I had to search a bit to find my original question 🙂