@Override
protected RunContentDescriptor doExecute(final Project project,
RunProfileState state,
RunContentDescriptor contentToReuse,
final ExecutionEnvironment env) throws ExecutionException {
final HXCPPRemoteDebugConfiguration configuration = (HXCPPRemoteDebugConfiguration)env.getRunProfile();
final Module module = configuration.getConfigurationModule().getModule();
final Executor executor = env.getExecutor();
if (module == null) {
throw new ExecutionException(HaxeBundle.message("no.module.for.run.configuration", configuration.getName()));
}
final HaxeModuleSettings settings = HaxeModuleSettings.getInstance(module);
final boolean notHXCPP = settings.getNmeTarget() != NMETarget.WINDOWS &&