Commit d33b27e6 authored by Tobias Hunger's avatar Tobias Hunger Committed by hjk
Browse files

Debugger: Do not soft-assert on missing tool chain

Not having a tool chain is actually allowed, so do not soft-assert
for that.

Change-Id: Ia913fa271a1f1e299451e9fabd4ed6bcfb32f043
Reviewed-by: default avatarhjk <>
parent d89ee73d
...@@ -59,7 +59,8 @@ DebuggerKitInformation::DebuggerKitInformation() ...@@ -59,7 +59,8 @@ DebuggerKitInformation::DebuggerKitInformation()
QVariant DebuggerKitInformation::defaultValue(Kit *k) const QVariant DebuggerKitInformation::defaultValue(Kit *k) const
{ {
ToolChain *tc = ToolChainKitInformation::toolChain(k); ToolChain *tc = ToolChainKitInformation::toolChain(k);
QTC_ASSERT(tc, return QVariant()); if (!tc)
return QVariant();
const Abi toolChainAbi = tc->targetAbi(); const Abi toolChainAbi = tc->targetAbi();
foreach (const DebuggerItem &item, DebuggerItemManager::debuggers()) foreach (const DebuggerItem &item, DebuggerItemManager::debuggers())
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