package zdebug
import "zgo.at/zstd/zdebug"
Package zdebug implements functions useful when debugging programs.
Index ¶
Functions ¶
func Loc ¶
Loc gets a location in the stack trace.
Use 0 for the current location; 1 for one up, etc.
func PrintStack ¶
func PrintStack(filterFun ...string)
PrintStack prints a stack trace to stderr.
Unlike debug.PrintStack() the output is much more concise: every frame is a single line with the package/function name and file location printed in aligned columns.
func Stack ¶
Stack gets a stack trace.
Unlike debug.Stack() the output is much more concise: every frame is a single line with the package/function name and file location printed in aligned columns.
Source Files ¶
zdebug.go
- Version
- v0.0.0-20250313035723-1ece53b5d53e (latest)
- Published
- Mar 13, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 1 day ago –
Tools for package owners.