Seems lldb
can only use frame variable
to introspect variable whether with debug info or on the start of the method call.
But sometimes our code will break on some system or third lib, we may want to introspect the variable or stack. I find a solution for this, Disassemble
the frame, read the assemble code and introspect the stack manually.
But I can't find a quick way to get the frame's stack when it's not on the topmost. Any simple way to do this in lldb or in Xcode.
I found a project in github claimed that can dump all stack memory. So can I use some native lldb command to dump the stack memory of a method call?