delve/_fixtures/issue2023.go

23 lines
222 B
Go
Raw Permalink Normal View History

package main
import (
"fmt"
"time"
)
func A() {
fmt.Printf("hello delve\n")
}
func main() {
count := 0
for {
A()
time.Sleep(time.Millisecond * time.Duration(100))
if count >= 30 {
break
}
count++
}
}