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, 0.0.5.0, 0.0.6.0, 0.0.7.0, 0.0.8.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 Mon Sep 24 08:36:36 UTC 2018
Distributions NixOS:0.0.8.0
Executables haskell-dap
Downloads 487 total (58 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-09-24 [all 1 reports]
Hackage Matrix CI

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for haskell-dap-0.0.8.0

[back to package description]

haskell-dap

The goal is "let GHCi speak DAP".

goal.png

Information

  • [2018/09/24] Release haskel-dap-0.0.8.0.
    • [ADD] GHCi gobal scope reference.

Limitation

Currently this project is an experimental design and implementation.

  • supporting ghc-8.0, ghc-8.2, ghc-8.4
  • need stack project.
  • checked on windows7, centos7

Features

inspect watch

01_inspect_variables.gif

inspect hoover

02_inspect_hoover.gif

inspect repl

03_inspect_repl.gif

logpoint

04_log_point.gif

break condition

05_break_exp.gif

break hit count

06_break_hitcount.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 -fghci-hist-size=5 --ghci-options -fprint-evld-with-show ",

IFData Design

if_data.png

Sequences

Overview.

seq1.png

Debugging details.

seq2.png