I use Google Breakpad for crash reporting a C++ app on Mac and Windows. On both platforms, Breakpad works by registering a handler for uncaught exceptions. That handler is triggered by most anything that would normally crash a process, e.g. dereferencing a null pointer.
But now I have a scenario where the handler isn't being invoked and the process crashes to the OS crash reporter. It's 100% reproducible, but I can't debug it because attaching a debugger to the process preempts the uncaught exception handler.
What techniques (other than copious printfs) can help me trace where the code flow is going if not to my handler? I think I'd like some IDE setting to let my debugger (Visual Studio and/or Xcode) step past the null pointer dereference and into the C++ runtime's handler code. But other techniques would be welcome too.
I have a minimal reproduction of my problem scenario here: https://bugreports.qt.io/browse/QTBUG-50061