print-debugger-1.1.3: Debug print formatting library.

Safe HaskellNone
LanguageHaskell2010

Debug.Print.StackTraceDebug

Synopsis

Documentation

debugMode :: Bool Source

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.

testDebugTraceIO :: IO () Source

This method tests the "debugTraceIO" function.