mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
lib: Debug: breakpoint doesn't support windows yet, drop for now
This commit is contained in:
parent
8fddc1e528
commit
fa8f6ae302
@ -10,8 +10,6 @@ Here are fancier versions of Debug.Trace, with these features:
|
||||
- sending debug output to stderr or to a log file
|
||||
- enabling logging based on program name
|
||||
|
||||
This module also exports Debug.Trace and the breakpoint package's Debug.Breakpoint.
|
||||
|
||||
The basic "trace" functions print to stderr.
|
||||
This debug output will be interleaved with the program's normal output, which can be
|
||||
useful for understanding when code executes.
|
||||
@ -68,6 +66,9 @@ Debug level: What to show:
|
||||
|
||||
-}
|
||||
|
||||
-- Disabled until 0.1.2.0 is released with windows support
|
||||
-- This module also exports Debug.Trace and the breakpoint package's Debug.Breakpoint.
|
||||
|
||||
-- more:
|
||||
-- http://hackage.haskell.org/packages/archive/TraceUtils/0.1.0.2/doc/html/Debug-TraceUtils.html
|
||||
-- http://hackage.haskell.org/packages/archive/trace-call/0.1/doc/html/Debug-TraceCall.html
|
||||
@ -142,7 +143,7 @@ module Hledger.Utils.Debug (
|
||||
,dbg9With
|
||||
|
||||
-- * Re-exports
|
||||
,module Debug.Breakpoint
|
||||
-- ,module Debug.Breakpoint
|
||||
,module Debug.Trace
|
||||
|
||||
)
|
||||
@ -152,7 +153,7 @@ import Control.DeepSeq (force)
|
||||
import Control.Exception (evaluate)
|
||||
import Control.Monad.IO.Class (MonadIO, liftIO)
|
||||
import Data.List hiding (uncons)
|
||||
import Debug.Breakpoint
|
||||
-- import Debug.Breakpoint
|
||||
import Debug.Trace (trace, traceIO, traceShowId)
|
||||
import Safe (readDef)
|
||||
import System.Environment (getProgName)
|
||||
|
@ -38,7 +38,7 @@ dependencies:
|
||||
- ansi-terminal >=0.9
|
||||
- array
|
||||
- blaze-markup >=0.5.1
|
||||
- breakpoint
|
||||
# - breakpoint >=0.1.2.0
|
||||
- bytestring
|
||||
- call-stack
|
||||
- cmdargs >=0.10
|
||||
|
@ -54,7 +54,7 @@ dependencies:
|
||||
- hledger >=1.27.99 && <1.28
|
||||
- ansi-terminal >=0.9
|
||||
- async
|
||||
- breakpoint
|
||||
# - breakpoint >=0.1.2.0
|
||||
- cmdargs >=0.8
|
||||
- containers >=0.5.9
|
||||
- data-default
|
||||
|
@ -79,7 +79,7 @@ when:
|
||||
|
||||
dependencies:
|
||||
- base >=4.14 && <4.18
|
||||
- breakpoint
|
||||
# - breakpoint >=0.1.2.0
|
||||
|
||||
library:
|
||||
source-dirs: .
|
||||
|
@ -100,7 +100,7 @@ dependencies:
|
||||
- hledger-lib >=1.27.99 && <1.28
|
||||
- aeson >=1
|
||||
- ansi-terminal >=0.9
|
||||
- breakpoint
|
||||
# - breakpoint >=0.1.2.0
|
||||
- bytestring
|
||||
- cmdargs >=0.10
|
||||
- containers >=0.5.9
|
||||
|
@ -10,6 +10,7 @@ packages:
|
||||
|
||||
extra-deps:
|
||||
# for hledger-lib:
|
||||
# - breakpoint-0.1.2.0
|
||||
# for hledger:
|
||||
# for hledger-ui:
|
||||
- brick-1.5
|
||||
@ -21,8 +22,8 @@ nix:
|
||||
pure: false
|
||||
packages: [perl gmp ncurses zlib]
|
||||
|
||||
ghc-options:
|
||||
"$locals": -fplugin Debug.Breakpoint
|
||||
# ghc-options:
|
||||
# "$locals": -fplugin Debug.Breakpoint
|
||||
|
||||
# # for precise profiling, per https://www.tweag.io/posts/2020-01-30-haskell-profiling.html:
|
||||
# # apply-ghc-options: everything
|
||||
|
@ -14,7 +14,7 @@ packages:
|
||||
|
||||
extra-deps:
|
||||
# for hledger-lib:
|
||||
- breakpoint-0.1.0.0
|
||||
# - breakpoint-0.1.2.0
|
||||
- doctest-0.20.0
|
||||
# for hledger:
|
||||
# for hledger-ui:
|
||||
@ -26,8 +26,8 @@ extra-deps:
|
||||
# for hledger-web:
|
||||
# for Shake.hs:
|
||||
|
||||
ghc-options:
|
||||
"$locals": -fplugin Debug.Breakpoint
|
||||
# ghc-options:
|
||||
# "$locals": -fplugin Debug.Breakpoint
|
||||
|
||||
# for precise profiling, per https://www.tweag.io/posts/2020-01-30-haskell-profiling.html:
|
||||
# apply-ghc-options: everything
|
||||
|
@ -18,7 +18,7 @@ packages:
|
||||
|
||||
extra-deps:
|
||||
# for hledger-lib:
|
||||
- breakpoint-0.1.0.0
|
||||
# - breakpoint-0.1.2.0
|
||||
# for hledger:
|
||||
# for hledger-ui:
|
||||
- brick-1.5
|
||||
@ -29,8 +29,8 @@ extra-deps:
|
||||
# for hledger-web:
|
||||
# for Shake.hs:
|
||||
|
||||
ghc-options:
|
||||
"$locals": -fplugin Debug.Breakpoint
|
||||
# ghc-options:
|
||||
# "$locals": -fplugin Debug.Breakpoint
|
||||
|
||||
# for precise profiling, per https://www.tweag.io/posts/2020-01-30-haskell-profiling.html:
|
||||
# apply-ghc-options: everything
|
||||
|
@ -10,6 +10,7 @@ packages:
|
||||
|
||||
extra-deps:
|
||||
# for hledger-lib:
|
||||
# - breakpoint-0.1.2.0
|
||||
# for hledger:
|
||||
# for hledger-ui:
|
||||
# for hledger-web:
|
||||
@ -24,8 +25,8 @@ nix:
|
||||
pure: false
|
||||
packages: [perl gmp ncurses zlib]
|
||||
|
||||
ghc-options:
|
||||
"$locals": -fplugin Debug.Breakpoint
|
||||
# ghc-options:
|
||||
# "$locals": -fplugin Debug.Breakpoint
|
||||
|
||||
# # for precise profiling, per https://www.tweag.io/posts/2020-01-30-haskell-profiling.html:
|
||||
# # apply-ghc-options: everything
|
||||
|
Loading…
Reference in New Issue
Block a user