haskell-dap: haskell-dap is a GHCi having DAP interface.

[ bsd3, development, library, program ] [ Propose Tags ]

Please see README.md


[Skip to Readme]
Versions 0.0.1.0, 0.0.2.0, 0.0.3.0, 0.0.4.0
Change log Changelog.md
Dependencies array, base (>=4.7 && <5), bytestring, containers, deepseq, directory, filepath, ghc, ghc-boot, ghc-paths, ghci, haskeline, haskell-dap, process, text, time, transformers, unix, Win32 [details]
License BSD-3-Clause
Copyright 2017-2018 phoityne_hs
Author phoityne_hs
Maintainer phoityne.hs@gmail.com
Category Development
Home page https://github.com/phoityne/haskell-dap
Bug tracker https://github.com/phoityne/haskell-dap/issues
Uploaded by phoityne_hs at Sun Apr 29 22:58:06 UTC 2018
Distributions NixOS:0.0.4.0
Executables haskell-dap
Downloads 196 total (32 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-04-29 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for haskell-dap-0.0.4.0

[back to package description]

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