Refactorings for HaskellDebugProcess