debugger: make breakpoint enables state visible in the breakpoint dialog

This commit is contained in:
hjk
2010-11-30 08:59:22 +01:00
parent 3cff7afbbc
commit cf154b3bc3
4 changed files with 38 additions and 15 deletions

View File

@@ -460,8 +460,6 @@ static DebuggerEngineType engineForToolChain(int toolChainType)
case ProjectExplorer::ToolChain_RVCT_ARMV5_GNUPOC:
case ProjectExplorer::ToolChain_GCCE_GNUPOC:
case ProjectExplorer::ToolChain_GCC_MAEMO:
if (getenv("QTC_LLDB_GUEST"))
return LldbEngineType;
#ifdef WITH_LLDB
// lldb override
if (Core::ICore::instance()->settings()->value("LLDB/enabled").toBool())
@@ -503,6 +501,12 @@ void DebuggerRunControl::createEngine(const DebuggerStartParameters &startParams
}
}
if (getenv("QTC_LLDB_GUEST")) {
engineType = LldbEngineType;
sp.executable = sp.processArgs;
qDebug() << "DEBUGGING" << sp.executable;
}
// Fixme: 1 of 3 testing hacks.
if (sp.processArgs.startsWith(__("@tcf@ ")))
engineType = GdbEngineType;
@@ -561,8 +565,8 @@ void DebuggerRunControl::createEngine(const DebuggerStartParameters &startParams
break;
case LldbEngineType:
d->m_engine = createLldbEngine(sp);
case NoEngineType:
case AllEngineTypes:
case NoEngineType:
case AllEngineTypes:
break;
}