Commit de515ccf authored by Fawzi Mohamed's avatar Fawzi Mohamed Committed by hjk
Browse files

ios: fixing debugging handling when debugger is missing



Change-Id: I1178e5fddd9bf6ed4985b029f03478e3ba2a89b8
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent c0d4de5a
...@@ -312,7 +312,7 @@ void IosConfigurations::updateAutomaticKitList() ...@@ -312,7 +312,7 @@ void IosConfigurations::updateAutomaticKitList()
//DeviceKitInformation::setDevice(newKit, device); //DeviceKitInformation::setDevice(newKit, device);
Debugger::DebuggerItem debugger; Debugger::DebuggerItem debugger;
debugger.setCommand(pToolchain->suggestedDebugger()); // use lldbPath() instead? debugger.setCommand(lldbPath());
debugger.setEngineType(Debugger::LldbEngineType); debugger.setEngineType(Debugger::LldbEngineType);
debugger.setDisplayName(tr("IOS Debugger")); debugger.setDisplayName(tr("IOS Debugger"));
debugger.setAutoDetected(true); debugger.setAutoDetected(true);
......
...@@ -109,6 +109,7 @@ RunControl *IosDebugSupport::createDebugRunControl(IosRunConfiguration *runConfi ...@@ -109,6 +109,7 @@ RunControl *IosDebugSupport::createDebugRunControl(IosRunConfiguration *runConfi
DebuggerRunControl * const debuggerRunControl DebuggerRunControl * const debuggerRunControl
= DebuggerPlugin::createDebugger(params, runConfig, errorMessage); = DebuggerPlugin::createDebugger(params, runConfig, errorMessage);
if (debuggerRunControl)
new IosDebugSupport(runConfig, debuggerRunControl); new IosDebugSupport(runConfig, debuggerRunControl);
return debuggerRunControl; return debuggerRunControl;
} }
......
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