forked from qt-creator/qt-creator
Debugger[New CDB]: Split up long extension messages.
To accommodate the limitation of output line width of CDB.
This commit is contained in:
@@ -173,7 +173,7 @@ STDMETHODIMP EventCallback::Exception(
|
||||
std::ostringstream str;
|
||||
formatGdbmiHash(str, parameters);
|
||||
ExtensionContext::instance().setStopReason(parameters, "exception");
|
||||
ExtensionContext::instance().report('E', 0, "exception", "%s", str.str().c_str());
|
||||
ExtensionContext::instance().report('E', 0, 0, "exception", "%s", str.str().c_str());
|
||||
return m_wrapped ? m_wrapped->Exception(Ex, FirstChance) : S_OK;
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@ STDMETHODIMP EventCallback::ExitProcess(
|
||||
__in ULONG ExitCode
|
||||
)
|
||||
{
|
||||
ExtensionContext::instance().report('E', 0, eventContextC, "Process exited (%lu)",
|
||||
ExtensionContext::instance().report('E', 0, 0, eventContextC, "Process exited (%lu)",
|
||||
ExitCode);
|
||||
const HRESULT hr = m_wrapped ? m_wrapped->ExitProcess(ExitCode) : S_OK;
|
||||
// Remotely debugged process exited, there is no session-inactive notification.
|
||||
|
||||
Reference in New Issue
Block a user