use of com.jetbrains.cidr.execution.CidrCommandLineState in project intellij by bazelbuild.
the class BlazeCppRunner method doExecute.
@Nullable
@Override
protected RunContentDescriptor doExecute(RunProfileState state, ExecutionEnvironment environment) throws ExecutionException {
if (environment.getExecutor().getId().equals(DefaultDebugExecutor.EXECUTOR_ID) && state instanceof CidrCommandLineState) {
CidrCommandLineState cidrState = (CidrCommandLineState) state;
XDebugSession debugSession = startDebugSession(cidrState, environment, false);
return debugSession.getRunContentDescriptor();
}
return super.doExecute(state, environment);
}
Aggregations