From time to time, while working in the iOS simulator with the Xcode debugger, I'll experience a non-reproduceable crash. Sometimes that crash occurs in code another developer has been working on, and that developer may be remote.
What are the best options for gathering as much information as possible about a crash in such a way that it can be investigated by another developer? At minimum, is there a way to export the stack traces in text form? A crash report from a device is fine, but in this case I'm already running within Xcode and no crash report seems to be generated.
For an OS X app you can use the
lldb.macosx.crashlog
package, as described in
Symbolicating with LLDB. I don’t know if this works in the iOS Simulator but it’s worth a try.
Even if it doesn’t work, the package is written in LLDB’s scripting language, Python, so you can crib it for ideas as to how to move forward. If Xcode is installed in the default place, the path is
/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/Python/lldb/macosx/
.
Share and Enjoy
—
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"