summaryrefslogtreecommitdiff
path: root/src/utilcode/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utilcode/debug.cpp')
-rw-r--r--src/utilcode/debug.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/utilcode/debug.cpp b/src/utilcode/debug.cpp
index a96aca148a..9a60645b9d 100644
--- a/src/utilcode/debug.cpp
+++ b/src/utilcode/debug.cpp
@@ -76,16 +76,6 @@ BOOL ContinueOnAssert()
return fNoGui.val(CLRConfig::INTERNAL_ContinueOnAssert);
}
-BOOL NoGuiOnAssert()
-{
- STATIC_CONTRACT_NOTHROW;
- STATIC_CONTRACT_GC_NOTRIGGER;
- STATIC_CONTRACT_DEBUG_ONLY;
-
- static ConfigDWORD fNoGui;
- return fNoGui.val(CLRConfig::INTERNAL_NoGuiOnAssert);
-}
-
void DoRaiseExceptionOnAssert(DWORD chance)
{
STATIC_CONTRACT_NOTHROW;
@@ -794,6 +784,16 @@ bool GetStackTraceAtContext(SString & s, CONTEXT * pContext)
#endif // !defined(DACCESS_COMPILE)
#endif // _DEBUG
+BOOL NoGuiOnAssert()
+{
+ STATIC_CONTRACT_NOTHROW;
+ STATIC_CONTRACT_GC_NOTRIGGER;
+ STATIC_CONTRACT_DEBUG_ONLY;
+
+ static ConfigDWORD fNoGui;
+ return fNoGui.val(CLRConfig::INTERNAL_NoGuiOnAssert);
+}
+
// This helper will throw up a message box without allocating or using stack if possible, and is
// appropriate for either low memory or low stack situations.
int LowResourceMessageBoxHelperAnsi(