Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
edsko committed Nov 22, 2024
1 parent 833a32e commit bb032b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `debuggable`: utilities for making your applications more debuggable.
# `debuggable`: utilities for making your applications easier to debug.

This package provides various utilities that can be used to make your
application easier to debug. Some of these tools are intended for use during
Expand Down
3 changes: 2 additions & 1 deletion src/Debug/NonInterleavedIO.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module Debug.NonInterleavedIO (
import Prelude hiding (putStr, putStrLn, print)

import Control.Concurrent
import Control.Exception
import Control.Monad.IO.Class
import System.Environment
import System.IO.Temp (getCanonicalTemporaryDirectory)
Expand Down Expand Up @@ -86,7 +87,7 @@ traceShowM = traceM . show

globalHandle :: MVar IO.Handle
{-# NOINLINE globalHandle #-}
globalHandle = unsafePerformIO $ do
globalHandle = unsafePerformIO $ uninterruptibleMask_ $ do
mOutput <- lookupEnv "NIIO_OUTPUT"
(fp, h) <- case mOutput of
Nothing -> do
Expand Down
2 changes: 2 additions & 0 deletions src/Debug/Provenance/Scope.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
-- | Utilities for tracking scope: nested 'Invocation's
--
-- Intended for unqualified import.
module Debug.Provenance.Scope (
-- * Thread-local scope
Scope
Expand Down

0 comments on commit bb032b4

Please sign in to comment.