Sometimes I try to find a very rare error in an iOS application. I hit it in the debugger after several hours, trying to play just to have xcode or lldb crash on me while I am debugging (usually if I go through C ++ code). This is more than enraging.
With gdb, you can use generate-core-dump to create the main dump of the file so that I can reload it into gdb and at least look at all the memory. What I want is the ability to do something similar in lldb, so that when xcode crashes (as is always the case at worst), I can restore the debugging session without having to crash again.
The app runs on a non-jailbroken iPhone, so I don't have much access to the OS to do something like a memory dump.
One possible answer is simply to use gdb instead of lldb, but I think it causes some other problems that I donβt remember at the moment, plus it doesnβt have some functions useful in lldb.
ios xcode lldb
stokastic
source share