X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d8b5d8502c7507a822f4ad2aa0068586be028c9..df21986cb7d7d33a8c28a2c60930532a7a53233c:/src/msw/debughlp.cpp?ds=sidebyside diff --git a/src/msw/debughlp.cpp b/src/msw/debughlp.cpp index 6e91403895..55a1006cf7 100644 --- a/src/msw/debughlp.cpp +++ b/src/msw/debughlp.cpp @@ -493,7 +493,9 @@ wxDbgHelpDLL::DumpSymbol(PSYMBOL_INFO pSym, void *pVariable) // debugging helpers // ---------------------------------------------------------------------------- -#ifndef NDEBUG +// this code is very useful when debugging debughlp.dll-related code but +// probably not worth having compiled in normally, please do not remove it! +#if 0 // ndef NDEBUG static wxString TagString(wxDbgHelpDLL::SymbolTag tag) { @@ -670,7 +672,7 @@ extern "C" void DumpTI(ULONG ti) } OutputDebugString(wxString::Format(_T("tag=%s%s"), - nested ? _T("nested ") : _T(""), + nested ? _T("nested ") : wxEmptyString, TagString(tag).c_str())); if ( tag == wxDbgHelpDLL::SYMBOL_TAG_UDT ) { @@ -708,7 +710,7 @@ extern "C" void DumpTI(ULONG ti) OutputDebugString(wxString::Format(_T(", next ti=0x%x"), ti)); } - OutputDebugString("\r\n"); + OutputDebugString(_T("\r\n")); } #endif // NDEBUG