Getting crash dumps out of metro applications RRS feed

  • Question

  • I'm in the position of needing crash dumps from my testers, for cases where bugs won't reproduce with VS attached, VS is unavailable, or the crash occurs before VS can be attached, which I can't reproduce locally.  Unlike with desktop applications, there's no option to attach a debugger when a metro app crashes normally.

    I'm currently wrapping main, every SHCore entry point, and every callback in __try / __except blocks, then calling the banned API MiniDumpWriteDump to generate a dump (which requires using a different DbgHelp.lib than the one provided for metro) and dump it into my local app data folder.  This is horribly ugly and invasive, but "works".

    Is there a better alternative?  Maybe even something that's recommended? 

    [Discussion of non-public builds removed. This forum is for discussion of publically available builds only (currently 8250). If you have access to newer builds under NDA then please address any questions through the channel from which you received that build. --RC]

    Thursday, May 17, 2012 9:09 PM


All replies