newCoreException(TizenLaunchMessages.CANNOT_LAUNCH_APPLICATION_WITH_GDBSERVER, null);
}
IConfiguration buildConfig = ProjectUtil.getDefaultConfiguration(proj);
- String targetID = "";
- String rootstrapPath = "";
- try {
- targetID = PlatformConfigurationManager.getDefaultBuildTargetName(buildConfig);
- String path = SmartBuildInterface.getInstance().getRootstrapPath(targetID);
- rootstrapPath = SmartBuildInterface.getInstance().getPlatformRootstrapPath(path);
- } catch (SBIException e) {
- newCoreException(TizenLaunchMessages.CANNOT_LAUNCH_APPLICATION_WITH_GDBSERVER, null);
- }
-
+ String path = PlatformConfigurationManager.getRootstrapPath(buildConfig);
+ String rootstrapPath = SmartBuildInterface.getInstance().getPlatformRootstrapPath(path);
IPath debugProjPath = new Path(rootstrapPath + File.separatorChar + "usr"
+ File.separatorChar + "lib" + File.separatorChar + "debug" + File.separatorChar
+ appPath);