debug

package
v0.0.0-...-09efcc3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 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