1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-11 18:25:40 +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

@ -103,13 +103,10 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
// consult a status handler // consult a status handler
IStatusHandler prompter = DebugPlugin.getDefault().getStatusHandler(fPromptStatus); IStatusHandler prompter = DebugPlugin.getDefault().getStatusHandler(fPromptStatus);
if (prompter != null) { if (prompter != null) {
try {
Object result = prompter.handleStatus(processPrompt, new Object[]{project, debugConfig}); Object result = prompter.handleStatus(processPrompt, new Object[]{project, debugConfig});
if (result instanceof IPath) { if (result instanceof IPath) {
return (IPath)result; return (IPath)result;
} }
} catch (CoreException e) {
}
} }
return null; return null;
} }
@ -124,7 +121,7 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
* @see org.eclipse.cdt.launch.AbstractCLaunchConfigurationDelegate#preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration, * @see org.eclipse.cdt.launch.AbstractCLaunchConfigurationDelegate#preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration,
* java.lang.String, org.eclipse.core.runtime.IProgressMonitor) * 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 return true; // no pre launch check for core file
} }
} }