1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 01:35:39 +02:00

let core exceptions go

This commit is contained in:
David Inglis 2005-03-24 17:11:07 +00:00
parent 1b28d19f8f
commit 2ab4f6bf28

View file

@ -81,7 +81,7 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
iprocess = DebugPlugin.newProcess(launch, process, renderProcessLabel(exePath.toOSString()));
}
CDIDebugModel.newDebugTarget(launch, project.getProject(), targets[i], renderTargetLabel(debugConfig),
iprocess, exeFile, true, false, false);
iprocess, exeFile, true, false, false);
}
} catch (CoreException e) {
try {
@ -103,12 +103,9 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
// consult a status handler
IStatusHandler prompter = DebugPlugin.getDefault().getStatusHandler(fPromptStatus);
if (prompter != null) {
try {
Object result = prompter.handleStatus(processPrompt, new Object[]{project, debugConfig});
if (result instanceof IPath) {
return (IPath)result;
}
} catch (CoreException e) {
Object result = prompter.handleStatus(processPrompt, new Object[]{project, debugConfig});
if (result instanceof IPath) {
return (IPath)result;
}
}
return null;
@ -124,7 +121,7 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
* @see org.eclipse.cdt.launch.AbstractCLaunchConfigurationDelegate#preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration,
* java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
*/
public boolean preLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException {
public boolean preLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) {
return true; // no pre launch check for core file
}
}