base-4.10.0.0: Basic libraries

Copyright(c) The University of Glasgow 2013-2015
Licensesee libraries/base/LICENSE
Maintainercvs-ghc@haskell.org
Stabilityinternal
Portabilitynon-portable (GHC Extensions)
Safe HaskellNone
LanguageHaskell2010

GHC.ExecutionStack.Internal (signature[?])

Contents

Description

Internals of the ExecutionStack module

Since: 4.9.0.0

Synopsis

Internal

data Location Source #

Location information about an address from a backtrace.

data SrcLoc Source #

A location in the original program source.

Constructors

SrcLoc 

data StackTrace Source #

The state of the execution stack

stackFrames :: StackTrace -> Maybe [Location] Source #

List the frames of a stack trace.

stackDepth :: StackTrace -> Int Source #

How many stack frames in the given StackTrace

collectStackTrace :: IO (Maybe StackTrace) Source #

Get an execution stack.

showStackFrames :: [Location] -> ShowS Source #

Render a stacktrace as a string

invalidateDebugCache :: IO () Source #

Free the cached debug data.