diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-02 19:08:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-02 19:08:33 +0000 |
commit | 655324f9dab084d47263f7510288ee3938d7f2e4 (patch) | |
tree | 3e014cbd3a229d47bce0dd81ff52660f3f1ac105 /src/mir_core/cmdline.cpp | |
parent | 685797951c34c866e27b5d24e3bdb9d7867356c5 (diff) |
/debug command line option to disable built-in exception handlers
git-svn-id: http://svn.miranda-ng.org/main/trunk@5553 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core/cmdline.cpp')
-rw-r--r-- | src/mir_core/cmdline.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mir_core/cmdline.cpp b/src/mir_core/cmdline.cpp index 6e112b7e14..acda692e0f 100644 --- a/src/mir_core/cmdline.cpp +++ b/src/mir_core/cmdline.cpp @@ -79,6 +79,9 @@ MIR_CORE_DLL(void) CmdLine_Parse(LPTSTR ptszCmdLine) p--; // the cycle will wipe this space automatically
}
+
+ if ( CmdLine_GetOption( _T("debug")))
+ g_bDebugMode = true;
}
MIR_CORE_DLL(LPCTSTR) CmdLine_GetOption(const TCHAR* ptszParameter)
|