How to debug dump files on Mac?

4,079 views
Skip to first unread message

Jonny Yu

unread,
Jul 25, 2011, 6:33:57 AM7/25/11
to google-breakpad-discuss
Hi

I've got breakpad pass compiling and it can generate dump files on my
Mac.
But how can I open the dump file to do dump analysis? It seems I
cannot open it in gdb, any suggestions?

Thanks!
-Jonny

Ted Mielczarek

unread,
Jul 26, 2011, 7:13:22 AM7/26/11
to google-brea...@googlegroups.com

Hi Jonny,

I'm not aware of anything better than using the minidump_stackwalk
tool that builds with the Breakpad processor libraries to extract
information from OS X minidumps. There's no equivalent to the md2core
utility that exists for Linux (at least to my knowledge). If you don't
already know how to get useful information out with
minidump_stackwalk, check out the last two sections of this wiki page:
http://code.google.com/p/google-breakpad/wiki/LinuxStarterGuide#Producing_symbols_for_your_application

That guide is for Linux, but the concepts apply to OS X as well, you
just need to use the tool in src/tools/mac/dump_syms.

-Ted

Reply all
Reply to author
Forward
0 new messages