Yes, the underlying implementation doesn't require you to be using
Cocoa / ObjC, just the Breakpad framework is an ObjC API. You can use
the ExceptionHandler class directly without problems.
> because I am in fact getting a dump file in my temp directory upon
> application crash. But I don't know what to do with this file! The Mac
> getting started guide is silent about how to analyze this file, and I
> cannot find a minidump_stackwalk application in the Mac tools area. If
> I compile the minidump_stackwalk application in the Linux code area
> (on the Mac), I can open the dump file (after extracting the symbols
> using dumpsyms), but do not get any line numbers, so I'm not sure that
> it is working. I even tried the instructions about running dsymutil
> found in the following post, but it did not make any difference:
Ok, if you have a minidump file, then you're most of the way there!
minidump_stackwalk is not platform-specific (it is somewhat
POSIX-specific), it runs fine on OS X. In order to get function names
+ source line info, you do need symbol files produced by dump_syms.
You'll want to run dsymutil on each binary/dylib in your application,
and then run the dump_syms tool on each .dSYM file to produce a
Breakpad-formatted .sym file. The symbol files need to be placed into
a specific directory structure in order for minidump_stackwalk to use
them, you might find this section of the Linux starter guide that I
wrote useful:
http://code.google.com/p/google-breakpad/wiki/LinuxStarterGuide#Producing_symbols_for_your_application
-Ted