udwDebug

package
v0.0.0-...-f254aa5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 12 Imported by: 6

Documentation

Index

Constants

View Source
const SepLineAndOneLBString = "=========================================================\n"
View Source
const SepLineAndTwoLBString = "\n=========================================================\n"
View Source
const SepLineString = "========================================================="

Variables

This section is empty.

Functions

func DebugBinary

func DebugBinary(b []byte) string

func FmtSprint

func FmtSprint(objList ...interface{}) string

func GetAllStack

func GetAllStack() []byte

func GetCallerPos

func GetCallerPos() string

func GetCurrentAllStackString

func GetCurrentAllStackString(skip int) string

func GetCurrentOneStackString

func GetCurrentOneStackString(skip int) string

func HexDumpWithAddrOffset

func HexDumpWithAddrOffset(data []byte, addrOffset uint64) string

func PrintAllStackV2

func PrintAllStackV2()

func PrintCallerPos

func PrintCallerPos()

func PrintCurrentAllStack

func PrintCurrentAllStack(skip int)

func PrintCurrentStackV2

func PrintCurrentStackV2()

func Println

func Println(objList ...interface{})

func PrintlnSepLine

func PrintlnSepLine()

func Sprintln

func Sprintln(objList ...interface{}) string

Types

type Stack

type Stack []StackFuncCall

func GetCurrentStack

func GetCurrentStack(skip int) (stack *Stack)

func (*Stack) ToString

func (s *Stack) ToString() (output string)

type StackFuncCall

type StackFuncCall struct {
	File     string
	Line     int
	Pc       uintptr
	FuncName string
}

Jump to

Keyboard shortcuts

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