Commit 7d47c15a authored by m417z's avatar m417z
Browse files

Update dbgmgr.cpp to fix issue 66

parent 4497f4db
......@@ -40,7 +40,7 @@ DebugManager::DebugManager()
client->SetOutputCallbacksWide(this);
client->SetInputCallbacks(this);
client->SetOutputMask(DEBUG_OUTPUT_NORMAL);
client->SetOutputMask(DEBUG_OUTPUT_NORMAL | DEBUG_OUTPUT_ERROR | DEBUG_OUTPUT_WARNING);
}
///////////////////////////////////////////////////////////////////////////////
......@@ -72,7 +72,7 @@ DebugManager::DebugManager( const std::wstring& remoteOptions )
client->SetOutputCallbacksWide(this);
client->SetOutputMask(DEBUG_OUTPUT_NORMAL);
client->SetOutputMask(DEBUG_OUTPUT_NORMAL | DEBUG_OUTPUT_ERROR | DEBUG_OUTPUT_WARNING);
}
///////////////////////////////////////////////////////////////////////////////
......@@ -461,10 +461,7 @@ HRESULT STDMETHODCALLTYPE OutputReader::Output(
__in ULONG Mask,
__in PCSTR Text )
{
if (Mask == DEBUG_OUTPUT_NORMAL)
{
m_readLine += _bstr_t(Text);
}
return S_OK;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment