github.com/cnboonhan/delve@v0.0.0-20230908061759-363f2388c2fb/_fixtures/issue871.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"runtime"
     6  )
     7  
     8  func main() {
     9  	a := [3]int{1, 2, 3}
    10  	b := &a
    11  	runtime.Breakpoint()
    12  	fmt.Println(b, *b) // set breakpoint here
    13  }