debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AbstractSymbianLaunchShortcut.java
changeset 994 1ffe668575e7
parent 956 d1e221a2875f
child 1099 88ab187cbeb8
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AbstractSymbianLaunchShortcut.java	Thu Feb 18 15:25:23 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AbstractSymbianLaunchShortcut.java	Thu Feb 18 15:34:09 2010 -0600
@@ -3,6 +3,7 @@
 import java.util.List;
 
 import org.eclipse.cdt.debug.core.executables.Executable;
+import org.eclipse.cdt.debug.core.executables.ISourceFileRemapping;
 import org.eclipse.core.resources.IFile;
 import org.eclipse.core.resources.IProject;
 import org.eclipse.core.resources.IResource;
@@ -19,6 +20,7 @@
 import org.eclipse.ui.IFileEditorInput;
 
 import com.nokia.carbide.cdt.builder.CarbideBuilderPlugin;
+import com.nokia.cdt.debug.cw.symbian.ui.executables.SymbianSourceFileRemapping;
 
 public abstract class AbstractSymbianLaunchShortcut implements ILaunchShortcut2 {
 
@@ -92,7 +94,8 @@
 					}
 					else
 					{		
-						executable = new Executable(file.getLocation(), file.getProject(), file);
+						executable = new Executable(file.getLocation(), file.getProject(), file,
+								new ISourceFileRemapping[] {new SymbianSourceFileRemapping()});
 						launchProject(file.getProject(), executable, defaultMMP, mode);
 						launched = true;					
 					}
@@ -128,7 +131,8 @@
 					{
 						defaultMMP = filePath;
 					}
-					Executable executable = new Executable(file.getLocation(), file.getProject(), file);
+					Executable executable = new Executable(file.getLocation(), file.getProject(), file,
+							new ISourceFileRemapping[] {new SymbianSourceFileRemapping()});
 					return LaunchPlugin.getDefault().getLaunchConfigurations(file.getProject(), executable, defaultMMP);
 				}
 			}