blob: 6548e2874db365a960f2241ce1a27b9cababe555 [file]
(lldb) target create <path to executable>
Current executable set to <path to executable>.
(lldb) settings set stop-disassembly-display never
(lldb) command script import <path to lldb script>
(lldb) br s -n ThrowException -s lldb_kt42208WithInlinedFunInKlib.kexe
Breakpoint 1: where = lldb_kt42208WithInlinedFunInKlib.kexe`ThrowException, address = <memory address>
(lldb) r
Process <process id> launched: <path to executable>
Process <process id> stopped
* thread #<thread id>, stop reason = breakpoint 1.1
frame #0: <frame pc> lldb_kt42208WithInlinedFunInKlib.kexe`ThrowException
(lldb) bt
* thread #<thread id>, stop reason = breakpoint 1.1
* frame #0: <frame pc> lldb_kt42208WithInlinedFunInKlib.kexe`ThrowException
frame #1: <frame pc> lldb_kt42208WithInlinedFunInKlib.kexe`kfun:main$$inlined$foo$1.invoke#internal(_this=main$$inlined$foo$1<value id>) at kt42208-2.kt:15:11
frame #2: <frame pc> lldb_kt42208WithInlinedFunInKlib.kexe`kfun:main$$inlined$foo$1.$<bridge-DN>invoke(_this=main$$inlined$foo$1<value id>){}kotlin.Nothing#internal at kt42208-2.kt:14:20
frame #3: <frame pc> lldb_kt42208WithInlinedFunInKlib.kexe`kfun:kotlin.Function0#invoke(){}1:0 at [K][Suspend]Functions:1:1
frame #4: <frame pc> lldb_kt42208WithInlinedFunInKlib.kexe`kfun:#main(){} at kt42208-1.kt:10:5
(lldb) q