haskell-debugger: A step-through debugger for GHC Haskell
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
This package provides a standalone executable
called hdb which can be used to step-through Haskell
programs and can act as a Debug Adapter Protocol (DAP)
server in the server mode for debugging Haskell
programs.
The Debug Adapter is implemented on top of the
haskell-debugger library which defines the primitive
debugging capabilities. These debugger features are
implemented by managing a GHC session and debugging it
through the GHC API.
The hdb is transparently compatible with most projects
because it uses hie-bios to figure out the right flags to
invoke GHC with.
Additional information can be found in the README.
[Skip to Readme]
Properties
| Versions | 0.5.0.0, 0.6.0.0, 0.7.0.0, 0.8.0.0, 0.9.0.0, 0.10.0.0, 0.10.1.0, 0.11.0.0, 0.12.0.0, 0.12.1.0, 0.12.2.0, 0.13.0.0, 0.13.1.0, 0.13.2.0, 0.14.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson (>=2.2.3 && <2.3), array (>=0.5.8 && <0.6), async (>=2.2.6 && <2.3), attoparsec (>=0.13 && <0.15), base (>=4.22 && <5), base16-bytestring (>=1.0.2.0 && <1.1), binary (>=0.8.9 && <0.11), bytestring (>=0.12.1 && <0.13), co-log-core (>=0.3.2.5 && <0.4), containers (>=0.7 && <0.9), cryptohash-sha1 (>=0.11.101.0 && <0.12), dap (>=0.7 && <0.8), directory (>=1.3.9.0 && <1.4), exceptions (>=0.10.9 && <0.11), file-embed (>=0.0.16 && <0.1), filepath (>=1.5.4 && <1.6), ghc (>=9.14 && <10.2), ghc-boot (>=9.14 && <10.2), ghc-boot-th (>=9.14 && <10.2), ghc-experimental (>=9.1401 && <10.2000), ghc-heap (>=9.14 && <10.2), ghc-stack-annotations (>=0.1 && <0.2), ghci (>=9.14 && <10.2), haskeline (>=0.8 && <1), haskell-debugger, haskell-debugger-view (>=0.2 && <1), hie-bios (>=0.20 && <0.22), implicit-hie (>=0.1.4.0 && <0.2), monad-control (>=1.0 && <1.1), mtl (>=2.3 && <3), network (>=3.2.8 && <3.3), network-run (>=0.4.4 && <0.5), optparse-applicative (>=0.18 && <0.20), prettyprinter (>=1.7.0 && <1.8), process (>=1.6.25 && <1.7), retry (>=0.9 && <1), rts (>=1 && <2), text (>=2.1 && <2.3), time (>=1.14 && <2), transformers (>=0.6 && <0.7), unix (>=2.8.6 && <2.9), unordered-containers (>=0.2.19 && <0.3), uuid (>=1.3 && <1.4) [details] |
| License | BSD-3-Clause |
| Author | Rodrigo Mesquita |
| Maintainer | rodrigo@well-typed.com |
| Category | Development |
| Home page | https://github.com/well-typed/haskell-debugger |
| Bug tracker | https://github.com/well-typed/haskell-debugger/issues |
| Source repo | head: git clone https://github.com/well-typed/haskell-debugger |
| Uploaded | by romes at 2026-09-17T16:17:07Z |
library haskell-debugger
Modules
[Index] [Quick Jump]
- GHC
- GHC.Debugger
- GHC.Debugger.Breakpoint
- GHC.Debugger.Debuggee
- Interface
- GHC.Debugger.Monad
- GHC.Debugger.Run
- GHC.Debugger.Runtime
- GHC.Debugger.Runtime.Compile
- GHC.Debugger.Runtime.Eval
- GHC.Debugger.Runtime.FFIInspect
- GHC.Debugger.Runtime.Instances
- GHC.Debugger.Runtime.Internal
- GHC.Debugger.Runtime.Interpreter
- GHC.Debugger.Runtime.Interpreter.Custom
- GHC.Debugger.Runtime.Interpreter.Legacy
- GHC.Debugger.Runtime.Interpreter.Types
- Term
- GHC.Debugger.Runtime.Thread
- GHC.Debugger.Session
- GHC.Debugger.Stopped
- GHC.Debugger.Utils
- GHC.Debugger
library haskell-debugger:dap-server
Modules
[Index] [Quick Jump]
- Development
- Debug
- Development.Debug.Adapter
- Development.Debug.Adapter.Breakpoints
- Development.Debug.Adapter.DAPDebuggee
- Development.Debug.Adapter.Evaluation
- Development.Debug.Adapter.ExceptionInfo
- Development.Debug.Adapter.Exit
- Development.Debug.Adapter.Exit.Helpers
- Development.Debug.Adapter.Handles
- Development.Debug.Adapter.Init
- Development.Debug.Adapter.Interface
- Development.Debug.Adapter.Output
- Development.Debug.Adapter.Proxy
- Development.Debug.Adapter.Server
- Development.Debug.Adapter.Stepping
- Development.Debug.Adapter.Stopped
- Session
- Development.Debug.Session.Setup
- Development.Debug.Adapter
- Debug
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| hdb-dep | Include hdb as build-tool-dependency of haskell-debugger-test. To be disabled by HLS so the project can get setup even when exe:hdb's build is broken. | Enabled |
| testing | Includes extra checks useful when running tests. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- haskell-debugger-0.13.2.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees

