debug

package
v1.44.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DEBUG   bool
	VERBOSE bool
	TRACE   bool
)

Functions

func CopyRoutines

func CopyRoutines() []byte

func CurrentContext

func CurrentContext() string

func Dump

func Dump(v ...interface{})

func DumpRoutines

func DumpRoutines()

func DumpRoutinesOnInterrupt

func DumpRoutinesOnInterrupt()

func Dumpf

func Dumpf(w io.Writer, v ...interface{})

Types

type Frame

type Frame struct {
	File string
	Path string
	Line int
	Name string
	Func *runtime.Func
}

func Stacktrace

func Stacktrace() []Frame

func (Frame) String

func (f Frame) String() string

Jump to

Keyboard shortcuts

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