Commit 6a07c454 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Disable gdb post-mortem debugging on Windows.



As it is not able to do the event-handshake required.
Reviewed-by: default avatarLeandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2086
parent db671e82
...@@ -402,6 +402,10 @@ DebuggerEngineType DebuggerRunControl::engineForMode(unsigned enabledEngineTypes ...@@ -402,6 +402,10 @@ DebuggerEngineType DebuggerRunControl::engineForMode(unsigned enabledEngineTypes
// Preferably Windows debugger for attaching locally. // Preferably Windows debugger for attaching locally.
if (startMode != AttachToRemote && (enabledEngineTypes & CdbEngineType)) if (startMode != AttachToRemote && (enabledEngineTypes & CdbEngineType))
return CdbEngineType; return CdbEngineType;
if (startMode == AttachCrashedExternal) {
d->m_errorMessage = tr("There is no debugging engine available for post-mortem debugging.");
return NoEngineType;
}
return GdbEngineType; return GdbEngineType;
#else #else
Q_UNUSED(startMode) Q_UNUSED(startMode)
......
Supports Markdown
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