<commit_before>package org.jetbrains.haskell.debugger

import com.intellij.debugger.impl.GenericDebuggerRunnerSettings
import com.intellij.execution.runners.GenericProgramRunner
import com.intellij.openapi.project.Project
import com.intellij.execution.configurations.RunProfileState
import com.intellij.execution.ui.RunContentDescriptor
import com.intellij.execution.runners.ExecutionEnvironment
import com.intellij.execution.configurations.RunProfile
import org.jetbrains.haskell.run.haskell.HaskellCommandLineState
import com.intellij.execution.ExecutionResult

/**
 * Created by marat-x on 7/10/14.
 */
public class HaskellProgramRunner() : GenericProgramRunner<GenericDebuggerRunnerSettings>() {
    class object {
        public val HS_PROGRAM_RUNNER_ID: String = "HaskellProgramRunner"
    }

    override fun doExecute(project: Project, state: RunProfileState, contentToReuse: RunContentDescriptor?,
                           environment: ExecutionEnvironment): RunContentDescriptor?
    {
//        var haskellCmdLineState : HaskellCommandLineState = state as HaskellCommandLineState
//        var executionResult : ExecutionResult = haskellCmdLineState.execute(environment.getExecutor(), this)
//        haskellCmdLineState.getConsoleBuilder()?.getConsole()?.attachToProcess(executionResult.getProcessHandler())
        println("Debugger started")
        
        return null
    }
    override fun getRunnerId(): String = HS_PROGRAM_RUNNER_ID

    override fun canRun(executorId: String, profile: RunProfile): Boolean {
        return true
    }

}<commit_msg>Some implementation have been added to HaskellProgramRunner<commit_after>package org.jetbrains.haskell.debugger

import com.intellij.debugger.impl.GenericDebuggerRunnerSettings
import com.intellij.execution.runners.GenericProgramRunner
import com.intellij.openapi.project.Project
import com.intellij.execution.configurations.RunProfileState
import com.intellij.execution.ui.RunContentDescriptor
import com.intellij.execution.runners.ExecutionEnvironment
import com.intellij.execution.configurations.RunProfile
import org.jetbrains.haskell.run.haskell.HaskellCommandLineState
import com.intellij.execution.ExecutionResult

/**
 * Created by marat-x on 7/10/14.
 */
public class HaskellProgramRunner() : GenericProgramRunner<GenericDebuggerRunnerSettings>() {
    class object {
        public val HS_PROGRAM_RUNNER_ID: String = "HaskellProgramRunner"
    }

    override fun doExecute(project: Project, state: RunProfileState, contentToReuse: RunContentDescriptor?,
                           environment: ExecutionEnvironment): RunContentDescriptor?
    {
//        var haskellCmdLineState : HaskellCommandLineState = state as HaskellCommandLineState
//        var executionResult : ExecutionResult = haskellCmdLineState.execute(environment.getExecutor(), this)
//        haskellCmdLineState.getConsoleBuilder()?.getConsole()?.attachToProcess(executionResult.getProcessHandler())
        println("Debugger started")

        return null
    }
    override fun getRunnerId(): String = HS_PROGRAM_RUNNER_ID

    override fun canRun(executorId: String, profile: RunProfile): Boolean {
        return true
    }

}
{'fraction_non_alphanumeric': 0.08045254556882464, 'fraction_numerical': 0.0031426775612822125, 'mean_word_length': 4.653641207815276, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6125738', 'n_tokens_mistral': 898, 'n_tokens_neox': 837, 'n_words': 160}