mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
fixing change in the method
This commit is contained in:
parent
8ca570cd07
commit
da7592b337
1 changed files with 3 additions and 2 deletions
|
@ -19,6 +19,7 @@ import org.eclipse.cdt.core.model.ICProject;
|
|||
import org.eclipse.cdt.debug.core.cdi.ICDISession;
|
||||
import org.eclipse.cdt.debug.mi.core.MIException;
|
||||
import org.eclipse.cdt.debug.mi.core.MIPlugin;
|
||||
import org.eclipse.cdt.debug.mi.core.command.MIVersion;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.eclipse.core.runtime.Platform;
|
||||
|
||||
|
@ -55,7 +56,7 @@ public class CDebugHelper {
|
|||
exename+="sol/" + exe;
|
||||
else
|
||||
return(null);
|
||||
session=mi.createCSession(null, new File(exename), new File("."), null, null);
|
||||
session=mi.createCSession(null, MIVersion.MI1, new File(exename), new File("."), null, null);
|
||||
return(session);
|
||||
}
|
||||
/**
|
||||
|
@ -73,7 +74,7 @@ public class CDebugHelper {
|
|||
return(null);
|
||||
}
|
||||
|
||||
session=mi.createCSession(null, new File(workspacePath +bins[0].getPath().toOSString()), new File("."), null, null);
|
||||
session=mi.createCSession(null, MIVersion.MI1, new File(workspacePath +bins[0].getPath().toOSString()), new File("."), null, null);
|
||||
return(session);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue