| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Mutagen.Tracer.Plugin
Contents
Description
GHC source plugin that instruments Haskell code to include tracing calls.
You can enable this plugin in different ways:
- Globally, by passing the
-fpluginflag to GHC:
-fplugin=Test.Mutagen.Tracer.Plugin
- Per module, by adding the following pragma to the top of the module:
{-# OPTIONS_GHC -fplugin=Test.Mutagen.Tracer.Plugin #-}
- Per function, by adding the TRACE annotation pragma to the function (in addition to enabling the plugin globally or per-module):
{-# ANN myFunction TRACE #-}