mirror of
https://github.com/go-delve/delve.git
synced 2025-08-06 13:36:58 +02:00
20 lines
182 B
Go
20 lines
182 B
Go
package main
|
|
|
|
import "runtime"
|
|
import "fmt"
|
|
|
|
func f() {
|
|
runtime.Breakpoint()
|
|
}
|
|
|
|
func g() int {
|
|
runtime.Breakpoint()
|
|
return 3
|
|
}
|
|
|
|
func main() {
|
|
f()
|
|
n := g() + 1
|
|
fmt.Println(n)
|
|
}
|