You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
Well, now lldb-1-windows is available on current master, so I can try debugging.
Lets try as steps from DEBUGGING.md:
msink@Sinkovsky MINGW64 /f/src/kotlin-native
$ /f/work/.konan/dependencies/lldb-1-windows/bin/lldb main.exe
(lldb) target create "main.exe"
Current executable set to 'main.exe' (x86_64).
b main.kt:5
(lldb) b main.kt:5
Breakpoint 1: where = main.exe`kfun:main() + 269 at main.kt:5:13, address = 0x000000000042be8d
r
(lldb) r
Process 10928 launched: 'F:\src\kotlin-native\main.exe' (x86_64)
Process 10928 stopped
* thread #1, stop reason = breakpoint 1.1
frame #0: 0x000000000042be8d main.exe`kfun:main() at main.kt:5:13
2 var x = 1
3 var y = 2
4 var p = Point(x, y)
-> 5 println("p = $p")
^
6 }
7 data class Point(val x: Int, val y: Int)
(lldb) fr var
(lldb) fr var
(int) x = 1
(int) y = 2
(ObjHeader *) p = 0x0000000000395978
command script import dist/tools/konan_lldb.py
(lldb) command script import dist/tools/konan_lldb.py
fr var
(lldb) fr var
(int) x = 1
(int) y = 2
(ObjHeader *) p = {}
p p
(lldb) p p
(ObjHeader *) $4 = {}
Now Kotlin/Natve works in CLion EAP on Windows, so - what should be used as debugger?
and anyway it is useless:
The text was updated successfully, but these errors were encountered: