Having illustrated the elusive error that crashes my application (more precisely, it works in the iOS simulator), I want to generate the main file for verification later. On Linux, I would run the core-core file from gdb, but this command is not available on Mac OS X version of gdb.
So how can I generate the main file from gdb? There are ways to set the OS for the main dump of the broken application, but I'm afraid that the application will change some of its states by then. What is the best way to do this?
Thanks!
Vladimir Gritsenko
source share