protected IBackend backend;
@Override
public void launch(final ILaunchConfiguration config, final String mode,
final ILaunch launch, final IProgressMonitor monitor) throws CoreException {
final BackendData data = getBackendData(config, mode, launch);
if (data == null) {
return;
}
if (data.isManaged()) {
setCaptureOutput(launch);
}
data.setLaunch(launch);
if (!isErlangInternalLaunch(launch)) {
backend = BackendCore.getBackendManager().createExecutionBackend(data);
} else {
backend = BackendCore.getBackendManager().getFactory().createBackend(data);
}