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-20241125224656-49fafbb06ca9 (latest)
- Published
- Nov 25, 2024
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 3 days ago –
Tools for package owners.