modes

package
v0.0.0-rc10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StackFramesCountMax = StackFramesCount32

Functions

func DefaultStackTraceMode

func DefaultStackTraceMode()

func SetStackFramesCountMax

func SetStackFramesCountMax(count StackFramesCount)

func SetStackTraceMode

func SetStackTraceMode(v StackTraceMode)

Types

type StackFramesCount

type StackFramesCount = int32
const (
	StackFramesCount16  StackFramesCount = 16
	StackFramesCount32  StackFramesCount = 32
	StackFramesCount64  StackFramesCount = 64
	StackFramesCount128 StackFramesCount = 128
)

func GetStackFramesCountMax

func GetStackFramesCountMax() StackFramesCount

type StackTraceMode

type StackTraceMode int32
const (
	StackTraceModeFrames StackTraceMode = iota
	StackTraceModeStacks
	StackTraceModeStackThenFrames
	StackTraceModeStackThenNothing
	StackTraceModeNothing
)

func GetStackTraceMode

func GetStackTraceMode() StackTraceMode

func KnownStackTraceModes

func KnownStackTraceModes() []StackTraceMode

func (StackTraceMode) String

func (m StackTraceMode) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL