diff --git a/hledger-lib/Hledger/Utils/Debug.hs b/hledger-lib/Hledger/Utils/Debug.hs index 396be6358..3978bbf99 100644 --- a/hledger-lib/Hledger/Utils/Debug.hs +++ b/hledger-lib/Hledger/Utils/Debug.hs @@ -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) diff --git a/hledger-lib/package.yaml b/hledger-lib/package.yaml index 879042f4f..1a09dc2f9 100644 --- a/hledger-lib/package.yaml +++ b/hledger-lib/package.yaml @@ -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 diff --git a/hledger-ui/package.yaml b/hledger-ui/package.yaml index 532d6c41c..1a7b388bf 100644 --- a/hledger-ui/package.yaml +++ b/hledger-ui/package.yaml @@ -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 diff --git a/hledger-web/package.yaml b/hledger-web/package.yaml index c5c8ff2aa..a1ea27644 100644 --- a/hledger-web/package.yaml +++ b/hledger-web/package.yaml @@ -79,7 +79,7 @@ when: dependencies: - base >=4.14 && <4.18 -- breakpoint +# - breakpoint >=0.1.2.0 library: source-dirs: . diff --git a/hledger/package.yaml b/hledger/package.yaml index b7034205c..bd274e1d6 100644 --- a/hledger/package.yaml +++ b/hledger/package.yaml @@ -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 diff --git a/stack.yaml b/stack.yaml index 3ba09bd29..6c60f57cb 100644 --- a/stack.yaml +++ b/stack.yaml @@ -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 diff --git a/stack8.10.yaml b/stack8.10.yaml index 4f2977ac5..c44081e02 100644 --- a/stack8.10.yaml +++ b/stack8.10.yaml @@ -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 diff --git a/stack9.0.yaml b/stack9.0.yaml index 1cdad7a43..4a76d2aab 100644 --- a/stack9.0.yaml +++ b/stack9.0.yaml @@ -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 diff --git a/stack9.4.yaml b/stack9.4.yaml index fc668945c..95d6f2e2b 100644 --- a/stack9.4.yaml +++ b/stack9.4.yaml @@ -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