X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50bea100324dcbeebf400eb65869fd4eae476171..401e3b6e5f50f15571b86297b5d1e3f55c473f6f:/include/wx/msw/crashrpt.h?ds=sidebyside diff --git a/include/wx/msw/crashrpt.h b/include/wx/msw/crashrpt.h index 97a5e4359a..bbd3dcc263 100644 --- a/include/wx/msw/crashrpt.h +++ b/include/wx/msw/crashrpt.h @@ -5,7 +5,7 @@ // Modified by: // Created: 13.07.2003 // RCS-ID: $Id$ -// Copyright: (c) 2003 Vadim Zeitlin +// Copyright: (c) 2003 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -26,15 +26,21 @@ enum wxCRASH_REPORT_LOCATION = 0, // if this flag is given, the call stack is dumped + // + // this results in dump/crash report as small as possible, this is the + // default flag wxCRASH_REPORT_STACK = 1, // if this flag is given, the values of the local variables are dumped + // + // note that this will result in huge file containing the dump of the + // entire process memory space when using mini dumps! wxCRASH_REPORT_LOCALS = 2, // if this flag is given, the values of all global variables are dumped // - // WARNING: this may take a very long time and generate megabytes of output - // in a big program, this is why it is off by default + // this creates a much larger mini dump and also takes more time to + // generate if our own crash reporting code is used wxCRASH_REPORT_GLOBALS = 4 }; @@ -54,8 +60,7 @@ struct WXDLLIMPEXP_BASE wxCrashReport // write the exception report to the file, return true if it could be done // or false otherwise static bool Generate(int flags = wxCRASH_REPORT_LOCATION | - wxCRASH_REPORT_STACK | - wxCRASH_REPORT_LOCALS); + wxCRASH_REPORT_STACK); }; #endif // wxUSE_ON_FATAL_EXCEPTION