Discover Packages
gopkg.in/qchencc/fatchoy.v1
debug
package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: Oct 26, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Backtrace(val interface{}, w io .Writer )
func GetCallerStack(stack *Stack , skip int )
获取当前调用堆栈
Frame represents a program counter inside a stack frame.
For historical reasons if Frame is interpreted as a uintptr
its value represents the program counter + 1.
PC returns the program counter for this frame;
multiple frames may have the same PC value.
stack represents a stack of program counters.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.