Dump stack trace on crash (Implement #849) (#870)

* Print stack trace on crash

* Printing stack trace is fully functional except for WIN32

* Minor fixes

* Minor fixes
This commit is contained in:
Murat Seker
2020-07-12 18:27:24 +02:00
committed by GitHub
parent 9c5e5cac24
commit 3b48d8c9d6
22 changed files with 239 additions and 88 deletions

View File

@@ -11,6 +11,8 @@
// ssdp discover
#include <ssdp/SSDPDiscover.h>
#include <utils/DefaultSignalHandler.h>
using namespace commandline;
// save the image as screenshot
@@ -23,6 +25,8 @@ void saveScreenshot(QString filename, const Image<ColorRgb> & image)
int main(int argc, char ** argv)
{
DefaultSignalHandler::install();
QCoreApplication app(argc, argv);
try