debug

package
v0.0.0-...-81dc835 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintStack

func PrintStack()

PrintStack is equivalent to runtime/debug.PrintStack

func Stack

func Stack() []byte

Stack is equivalent to runtime/debug.Stack except that ALL gorountine stacks are included, not just the calling one.

func TrapSIGQUIT

func TrapSIGQUIT()

TrapSIGQUIT traps SIGQUIT and call PrintStack. it DOES NOT exit the program.

Types

This section is empty.

Jump to

Keyboard shortcuts

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