Patrick
02/10/2020, 9:47 AMresult
of the call.
(lldb) command script import konan_lldb.py
(lldb) p result
(ObjHeader *) $1776 = {'exception': {'stackTraceStrings$delegate': '...', 'message': 'Bad response: HttpResponse[<https://example.com/v1.0/authentication>, 401 Unauthorized]', 'cause': None, 'stackTrace': ['0x0000000100064397', '0x000000010005d7f5', '0x000000010005d3b5', '0x000000010005d995', '0x00000001002e916f', '0x00000001002e8c00', '0x00000001002ea3ea', '0x00000001002ea980', '0x00000001002f29cd', '0x00000001002f2d04'], 'response': '...'}}
How would I now display the response
property of the result? What is the best way to access it and display it in a readable format?Vasily Levchenko
02/10/2020, 3:40 PMPatrick
02/11/2020, 8:04 AMKirill Shmakov [JB]
02/11/2020, 2:10 PM1.3.70-eap-184
then pick Kotlin Line Breakpoint
4. othervise just Line Breakpoint
.
This is supposed to work when your executable is being run by gradle task from within IDEA.raniejade
02/12/2020, 5:58 AMNative Debug for IntelliJ
plugin does not allow you to specify a binary to run (CLion allows it) which is useful if you are debugging a shared library built in kotlin native. CLion support is quite buggy - it's quite slow to show debug variables. I had better experience debugging a shared library built with kotlin native in QtCreator than in CLion.Kirill Shmakov [JB]
02/13/2020, 8:01 AMraniejade
02/13/2020, 8:19 AMraniejade
02/13/2020, 8:19 AMraniejade
02/13/2020, 8:20 AMExecutable
dropdown - which allows me to choose an external executable.raniejade
02/13/2020, 8:31 AMKirill Shmakov [JB]
02/13/2020, 2:04 PMraniejade
08/08/2020, 9:01 AMKirill Shmakov [JB]
08/10/2020, 8:20 AMraniejade
08/10/2020, 9:22 AM