}
private IStatus execute(IProgressMonitor monitor) {
ConnectedTargetData connectedTargetData = workspaceBridge.getConnectedTargetData();
MonitorWrapper monitorWrapper = new MonitorWrapper(monitor, ""); //$NON-NLS-1$
monitorWrapper.beginTask();
try {
WorkPlan.PREINIT.start(monitorWrapper);
// Nothing here right now.
WorkPlan.PREINIT.finish(monitorWrapper);
checkIsCanceled(monitorWrapper);
WorkPlan.SET_OPTIONS.start(monitorWrapper);
// Not implemented yet
WorkPlan.SET_OPTIONS.finish(monitorWrapper);
checkIsCanceled(monitorWrapper);
WorkPlan.LOAD_SCRIPTS.start(monitorWrapper);
workspaceBridge.reloadScriptsAtStart();
WorkPlan.LOAD_SCRIPTS.finish(monitorWrapper);
checkIsCanceled(monitorWrapper);
synchronizeBreakpoints(
WorkPlan.SYNCHRONIZE_BREAKPOINTS.createSubMonitorWrapper(monitorWrapper));
} finally {
monitorWrapper.done();
}
return Status.OK_STATUS;
}