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

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  var g int = 0
     8  
     9  func compromised()
    10  
    11  func skipped() {
    12  	g++
    13  }
    14  
    15  func main() {
    16  	compromised()
    17  	fmt.Printf("%d\n", g)
    18  }