mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Replaced the decprecated target factory methods.
This commit is contained in:
parent
5ddf5b1eb3
commit
b0444239f0
3 changed files with 10 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-07-21 Mikhail Khodjaiants
|
||||||
|
Replaced the decprecated target factory methods.
|
||||||
|
* CoreFileLaunchDelegate.java
|
||||||
|
* LocalCLaunchConfigurationDelegate.java
|
||||||
|
|
||||||
2004-07-14 Mikhail Khodjaiants
|
2004-07-14 Mikhail Khodjaiants
|
||||||
Fix for bug 69977: TVT3.0: Non-externalized strings in Launching Debug.
|
Fix for bug 69977: TVT3.0: Non-externalized strings in Launching Debug.
|
||||||
Applied patch from Tanya Wollf.
|
Applied patch from Tanya Wollf.
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
package org.eclipse.cdt.launch.internal;
|
package org.eclipse.cdt.launch.internal;
|
||||||
|
|
||||||
import org.eclipse.cdt.core.model.ICProject;
|
import org.eclipse.cdt.core.model.ICProject;
|
||||||
import org.eclipse.cdt.debug.core.CDebugModel;
|
import org.eclipse.cdt.debug.core.CDIDebugModel;
|
||||||
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
|
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
|
||||||
import org.eclipse.cdt.debug.core.ICDebugConfiguration;
|
import org.eclipse.cdt.debug.core.ICDebugConfiguration;
|
||||||
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||||
|
@ -78,7 +78,7 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
|
||||||
// set the source locator
|
// set the source locator
|
||||||
setSourceLocator(launch, config);
|
setSourceLocator(launch, config);
|
||||||
|
|
||||||
CDebugModel.newCoreFileDebugTarget(
|
CDIDebugModel.newCoreFileDebugTarget(
|
||||||
launch,
|
launch,
|
||||||
dsession.getCurrentTarget(),
|
dsession.getCurrentTarget(),
|
||||||
renderTargetLabel(debugConfig),
|
renderTargetLabel(debugConfig),
|
||||||
|
|
|
@ -16,11 +16,10 @@ import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import org.eclipse.cdt.core.CCorePlugin;
|
import org.eclipse.cdt.core.CCorePlugin;
|
||||||
import org.eclipse.cdt.core.IProcessInfo;
|
import org.eclipse.cdt.core.IProcessInfo;
|
||||||
import org.eclipse.cdt.core.IProcessList;
|
import org.eclipse.cdt.core.IProcessList;
|
||||||
import org.eclipse.cdt.debug.core.CDebugModel;
|
import org.eclipse.cdt.debug.core.CDIDebugModel;
|
||||||
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
|
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
|
||||||
import org.eclipse.cdt.debug.core.ICDebugConfiguration;
|
import org.eclipse.cdt.debug.core.ICDebugConfiguration;
|
||||||
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||||
|
@ -103,7 +102,7 @@ public class LocalCLaunchConfigurationDelegate extends AbstractCLaunchDelegate {
|
||||||
debuggerProcess = DebugPlugin.newProcess(launch, debugger, renderDebuggerProcessLabel());
|
debuggerProcess = DebugPlugin.newProcess(launch, debugger, renderDebuggerProcessLabel());
|
||||||
}
|
}
|
||||||
boolean stopInMain = config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, false);
|
boolean stopInMain = config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, false);
|
||||||
CDebugModel.newDebugTarget(
|
CDIDebugModel.newDebugTarget(
|
||||||
launch,
|
launch,
|
||||||
dsession.getCurrentTarget(),
|
dsession.getCurrentTarget(),
|
||||||
renderTargetLabel(debugConfig),
|
renderTargetLabel(debugConfig),
|
||||||
|
@ -125,7 +124,7 @@ public class LocalCLaunchConfigurationDelegate extends AbstractCLaunchDelegate {
|
||||||
debuggerProcess = DebugPlugin.newProcess(launch, debugger, renderDebuggerProcessLabel());
|
debuggerProcess = DebugPlugin.newProcess(launch, debugger, renderDebuggerProcessLabel());
|
||||||
launch.removeProcess(debuggerProcess);
|
launch.removeProcess(debuggerProcess);
|
||||||
}
|
}
|
||||||
CDebugModel.newAttachDebugTarget(
|
CDIDebugModel.newAttachDebugTarget(
|
||||||
launch,
|
launch,
|
||||||
dsession.getCurrentTarget(),
|
dsession.getCurrentTarget(),
|
||||||
renderTargetLabel(debugConfig),
|
renderTargetLabel(debugConfig),
|
||||||
|
|
Loading…
Add table
Reference in a new issue