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:
parent
1b28d19f8f
commit
2ab4f6bf28
1 changed files with 5 additions and 8 deletions
|
@ -81,7 +81,7 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
|
||||||
iprocess = DebugPlugin.newProcess(launch, process, renderProcessLabel(exePath.toOSString()));
|
iprocess = DebugPlugin.newProcess(launch, process, renderProcessLabel(exePath.toOSString()));
|
||||||
}
|
}
|
||||||
CDIDebugModel.newDebugTarget(launch, project.getProject(), targets[i], renderTargetLabel(debugConfig),
|
CDIDebugModel.newDebugTarget(launch, project.getProject(), targets[i], renderTargetLabel(debugConfig),
|
||||||
iprocess, exeFile, true, false, false);
|
iprocess, exeFile, true, false, false);
|
||||||
}
|
}
|
||||||
} catch (CoreException e) {
|
} catch (CoreException e) {
|
||||||
try {
|
try {
|
||||||
|
@ -103,12 +103,9 @@ 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
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue