summaryrefslogtreecommitdiff
path: root/zen/debug_minidump.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:31:23 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:31:23 +0200
commit851b6f99c1248c8ec8e33322a3179c1d82fdd515 (patch)
tree5b9abf4c4e648ea48ed4873e3c4bf1b225c64daf /zen/debug_minidump.h
parent6.1 (diff)
downloadFreeFileSync-851b6f99c1248c8ec8e33322a3179c1d82fdd515.tar.gz
FreeFileSync-851b6f99c1248c8ec8e33322a3179c1d82fdd515.tar.bz2
FreeFileSync-851b6f99c1248c8ec8e33322a3179c1d82fdd515.zip
6.2
Diffstat (limited to 'zen/debug_minidump.h')
-rw-r--r--zen/debug_minidump.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/zen/debug_minidump.h b/zen/debug_minidump.h
deleted file mode 100644
index 2ef43039..00000000
--- a/zen/debug_minidump.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// **************************************************************************
-// * This file is part of the FreeFileSync project. It is distributed under *
-// * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
-// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
-// **************************************************************************
-
-#ifndef DEBUGNEW_H_INCLUDED
-#define DEBUGNEW_H_INCLUDED
-
-#ifndef _MSC_VER
-#error currently for use with MSC only
-#endif
-
-/*
-Better std::bad_alloc
----------------------
-overwrite "operator new" to automatically write mini dump and get info about bytes requested:
-1. Compile "debug_minidump.cpp"
-
-Minidumps http://msdn.microsoft.com/en-us/library/windows/desktop/ee416349(v=vs.85).aspx
-----------------------------------------------------------------------------------------
-1. Compile "debug_minidump.cpp"
-2. Compile "release" build with:
- - C/C++ -> General: Debug Information Format: "Program Database" (/Zi).
- - C/C++ -> Optimization: Omit Frame Pointers: No (/Oy-) - avoid call stack mess up!
- - Linker -> Debugging: Generate Debug Info: Yes (/DEBUG)
- - Linker -> Optimization: References: Yes (/OPT:REF).
- - Linker -> Optimization: Enable COMDAT Folding: Yes (/OPT:ICF).
-Optional:
- - C/C++ -> Optimization: Disabled (/Od)
-*/
-
-namespace debug_tools
-{
-void writeMinidump();
-}
-
-#endif // DEBUGNEW_H_INCLUDED
bgstack15