changeset 94 | d74b720418db |
parent 2 | d760517a8095 |
92:cfa799aaafa1 | 94:d74b720418db |
---|---|
55 import org.eclipse.ui.console.IOConsoleOutputStream; |
55 import org.eclipse.ui.console.IOConsoleOutputStream; |
56 |
56 |
57 import com.freescale.cdt.debug.cw.DebuggerLog; |
57 import com.freescale.cdt.debug.cw.DebuggerLog; |
58 import com.freescale.cdt.debug.cw.core.cdi.ISessionListener; |
58 import com.freescale.cdt.debug.cw.core.cdi.ISessionListener; |
59 import com.freescale.cdt.debug.cw.core.cdi.Session; |
59 import com.freescale.cdt.debug.cw.core.cdi.Session; |
60 import com.freescale.cdt.debug.cw.core.cdi.model.Target; |
|
60 import com.freescale.cdt.debug.cw.core.settings.DebuggerCommonData; |
61 import com.freescale.cdt.debug.cw.core.settings.DebuggerCommonData; |
61 import com.freescale.cdt.debug.cw.core.ui.console.LoggingConsole; |
62 import com.freescale.cdt.debug.cw.core.ui.console.LoggingConsole; |
62 import com.nokia.cdt.debug.cw.symbian.SettingsData; |
63 import com.nokia.cdt.debug.cw.symbian.SettingsData; |
63 import com.nokia.cdt.debug.cw.symbian.SymbianPlugin; |
64 import com.nokia.cdt.debug.cw.symbian.SymbianPlugin; |
64 |
65 |
156 |
157 |
157 config = synchronizeWithProjectAccessPaths(project, config); |
158 config = synchronizeWithProjectAccessPaths(project, config); |
158 |
159 |
159 File wd = getWorkingDirectory(config); |
160 File wd = getWorkingDirectory(config); |
160 long t = System.currentTimeMillis(); |
161 long t = System.currentTimeMillis(); |
161 cwDebugSession.launchExecutable(launch, config, exeFile, otherExecutables, arguments, wd, getEnvironmentAsProperty(config), monitor, project, renderTargetLabel(debugConfig), true); |
162 Target target = cwDebugSession.launchExecutable(launch, config, exeFile, otherExecutables, arguments, wd, getEnvironmentAsProperty(config), monitor, project, renderTargetLabel(debugConfig), true); |
163 ATFLaunchSupport.saveDebugTargetFromLaunchDelegate(target.getCoreModelTarget()); |
|
162 t = System.currentTimeMillis() - t; |
164 t = System.currentTimeMillis() - t; |
163 // System.out.println("launchExecutable returns in : " + t); |
165 // System.out.println("launchExecutable returns in : " + t); |
164 DebuggerLog.log("launchExecutable returns in : " + t); |
166 DebuggerLog.log("launchExecutable returns in : " + t); |
165 } catch (CoreException e) { |
167 } catch (CoreException e) { |
166 Session session = (Session)dsession; |
168 Session session = (Session)dsession; |