@hackage haskell-dap0.0.4.0

haskell-dap is a GHCi having DAP interface.

haskell-dap

The goal is "let GHCi speak DAP".

goal.png

Information

  • [2018/04/30] Release haskel-dap-0.0.4.0.
    • [ADD] next, stepIn, setFunctionBreakpoint commands.

Limitation

Currently this project is an experimental design and implementation.

  • supporting ghc-8.0.2, ghc-8.2.2
  • need stack project.
  • checked on windows7, centos7

Features

inspect variables

01_inspect_variables.gif

Install

install vscode and phoityne extension.

Run stack install

% stack install haskell-dap
  . . . . .
Copied executables to C:\Users\[USERNAME]\AppData\Roaming\local\bin:
- haskell-dap.exe

%

Configuration

Add --with-ghc option to ghciCmd variable in the vscode launch.json.

"ghciCmd": "stack ghci --with-ghc=haskell-dap --test --no-load --no-build --main-is TARGET --ghci-options -fprint-evld-with-show ",

IFData Design

if_data.png

Sequences

Overview.

seq1.png

Debugging details.

seq2.png