GHC.ExecutionStack.Internal

GHC.ExecutionStack.Internal

Copyright (c) The University of Glasgow 2013-2015
License see libraries/base/LICENSE
Maintainer cvs-ghc@haskell.org
Stability internal
Portability non-portable (GHC Extensions)
Safe Haskell None
Language Haskell2010

Contents

Description

Internals of the ExecutionStack module

Since: 4.9.0.0

Internal

data Location Source

Location information about an addresss 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.

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.0.1/docs/html/libraries/base-4.9.0.0/GHC-ExecutionStack-Internal.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部