Answers for "using dlv trace"

Go
0

using dlv trace

trace [name] <linespec>

=>   7: func main() {
     8:         var x uint8 = 1<<1 | 1<<5
     9:         var y uint8 = 1<<1 | 1<<2
    10:
    11:         fmt.Printf("%08b\n", x)
    12:         fmt.Printf("%08b\n", y)
    
(dlv) trace one bitwise.go:9

Tracepoint one set at 0x10c1a57 for main.main() ./bitwise.go:9

(dlv) c

> [one] main.main() ./bitwise.go:9 (hits goroutine(1):1 total:1) (PC: 0x10c1a57)
Posted by: Guest on June-20-2020

Browse Popular Code Answers by Language