Safe Haskell | None |
---|---|
Language | Haskell2010 |
- debugMode :: Bool
- debugTraceIO :: (?loc :: CallStack) => String -> IO ()
- prt :: (?loc :: CallStack) => String -> IO ()
- windowsNewline :: [Char]
- linuxNewLine :: [Char]
- windowsSeparator :: [Char]
- linuxSeparator :: [Char]
- testDebugTraceIO :: IO ()
Documentation
Set to False and recompile in order to disable print statements with stack traces.
debugTraceIO :: (?loc :: CallStack) => String -> IO () Source
Prints message with a one line stack trace (formatted like a Java Exception for IDE usability). Meant to be a substitute for Debug.Trace.traceIO
prt :: (?loc :: CallStack) => String -> IO () Source
Shorthand for "debugTraceIO". Prints a message with a formatted stack trace.
windowsNewline :: [Char] Source
linuxNewLine :: [Char] Source
windowsSeparator :: [Char] Source
linuxSeparator :: [Char] Source
testDebugTraceIO :: IO () Source
This method tests the "debugTraceIO" function.