[Interest] Stack trace on Windows

Roland Winklmeier roland.m.winklmeier at gmail.com
Wed Apr 3 09:34:18 CEST 2019


Am Mi., 3. Apr. 2019 um 00:31 Uhr schrieb Hamish Moffatt <
hamish at risingsoftware.com>:

> On 3/4/19 4:39 am, Boris Ralchenko wrote:
> > Hello,
> >
> > Question to Windows gurus - what is the best way to get stack trace
> > after crash? Say Qt/QML application runs in QA environment, not
> > development. MacOS creates log with the stack trace, I am looking to
> > something similar on Windows.
>
>
> Breakpad (from Google/Chromium) looks promising, but complicated to
> integrate.
>
>
> https://chromium.googlesource.com/breakpad/breakpad/+/master/docs/getting_started_with_breakpad.md
>

Just for the record since breakpad was mentioned. There is now crashpad (
https://chromium.googlesource.com/crashpad/crashpad/) which is the
successor of breakpad. Its far easier to build and integrate compared to
breakpad. However their GN build files are still very tightly coupled to
Chrome being the prime user of crashpad. For example changing build flags
(/MT vs /MD) requires hacking around in the build files which isn't easy,
but doable.

Cheers Roland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190403/539b891d/attachment.html>


More information about the Interest mailing list