Remote Debugging Dialog: Make it possible to choose the debugger.

Reviewed-by: hjk
This commit is contained in:
ck
2009-12-11 11:49:32 +01:00
parent 1bf3418314
commit b5abd7b9a6
4 changed files with 58 additions and 31 deletions

View File

@@ -1359,6 +1359,7 @@ void DebuggerPlugin::startRemoteApplication()
configValue(_("LastRemoteChannel")).toString());
dlg.setLocalExecutable(
configValue(_("LastLocalExecutable")).toString());
dlg.setDebugger(configValue(_("LastDebugger")).toString());
dlg.setRemoteArchitecture(lastUsed);
dlg.setServerStartScript(
configValue(_("LastServerStartScript")).toString());
@@ -1369,6 +1370,7 @@ void DebuggerPlugin::startRemoteApplication()
return;
setConfigValue(_("LastRemoteChannel"), dlg.remoteChannel());
setConfigValue(_("LastLocalExecutable"), dlg.localExecutable());
setConfigValue(_("LastDebugger"), dlg.debugger());
setConfigValue(_("LastRemoteArchitecture"), dlg.remoteArchitecture());
setConfigValue(_("LastServerStartScript"), dlg.serverStartScript());
setConfigValue(_("LastUseServerStartScript"), dlg.useServerStartScript());
@@ -1376,6 +1378,7 @@ void DebuggerPlugin::startRemoteApplication()
sp->remoteChannel = dlg.remoteChannel();
sp->remoteArchitecture = dlg.remoteArchitecture();
sp->executable = dlg.localExecutable();
sp->debuggerCommand = dlg.debugger();
sp->startMode = StartRemote;
if (dlg.useServerStartScript())
sp->serverStartScript = dlg.serverStartScript();