import org.tizen.common.connection.ConnectionPlugin;
import org.tizen.common.util.DialogUtil;
import org.tizen.nativecommon.build.SmartBuildInterface;
+import org.tizen.nativecommon.launch.TizenLaunchConfigurationConstants;
import org.tizen.nativecommon.launch.TizenLaunchMessages;
import org.tizen.nativeplatform.build.PlatformConfigurationManager;
import org.tizen.nativeplatform.launch.PlatformLaunchMessages;
for (int i = 0; i < debugConfigs.length; i++) {
if (debugConfigs[i]
.supportsMode(ICDTLaunchConfigurationConstants.DEBUGGER_MODE_RUN)) {
- if (debugConfigs[i].getName().contains("Tizen")) {
+ if (debugConfigs[i].getID().equals(
+ TizenLaunchConfigurationConstants.DEBUGGER_ID)) {
debugList.add(debugConfigs[i]);
}
}
return configuration;
}
- protected ICDebugConfiguration chooseDebugConfig(ICDebugConfiguration[] debugConfigs, String mode) {
+ protected ICDebugConfiguration chooseDebugConfig(ICDebugConfiguration[] debugConfigs,
+ String mode) {
ILabelProvider provider = new LabelProvider() {
public String getText(Object element) {
if (element == null) {
abstract protected ILaunchConfiguration createConfiguration(IProject project,
ICDebugConfiguration debugConfig, String mode);
- protected void setSourceContainer(IProject project, ILaunchConfigurationWorkingCopy configuration) {
+ protected void setSourceContainer(IProject project,
+ ILaunchConfigurationWorkingCopy configuration) {
PlatformRootstrap rootstrap = target.getRootstrap();
String basePath = rootstrap.getPath().toOSString();