mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
Attempt to get PDA working in binary plugin.
This commit is contained in:
parent
b70b28a491
commit
4250d67c92
1 changed files with 7 additions and 1 deletions
|
@ -36,6 +36,7 @@ import org.eclipse.core.runtime.CoreException;
|
|||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
import org.eclipse.core.runtime.IStatus;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.eclipse.core.runtime.Platform;
|
||||
import org.eclipse.core.runtime.Status;
|
||||
import org.eclipse.core.runtime.jobs.Job;
|
||||
import org.eclipse.debug.core.DebugPlugin;
|
||||
|
@ -238,7 +239,12 @@ public class PDABackend extends AbstractDsfService {
|
|||
commandList.add(javaVMExec);
|
||||
|
||||
commandList.add("-cp");
|
||||
commandList.add(File.pathSeparator + PDAPlugin.getFileInPlugin(new Path("bin")));
|
||||
try {
|
||||
commandList.add(
|
||||
File.pathSeparator + PDAPlugin.getFileInPlugin(new Path("bin")) +
|
||||
File.pathSeparator + new File(Platform.asLocalURL(PDAPlugin.getDefault().getDescriptor().getInstallURL()).getFile()));
|
||||
} catch (IOException e) {
|
||||
}
|
||||
|
||||
commandList.add("org.eclipse.cdt.examples.pdavm.PDAVirtualMachine");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue