delve/_fixtures/issue2078.go
Alessandro Arzilli 67f6a21ab8
proc: refresh cur thread/sel g after ContineOnce errors (#2081)
On platforms other than macOS this doesn't matter but on macOS a
segmentation fault will cause ContinueOnce to return an error, before
returning it we should still fix the current thread and selected
goroutine values.

Fixes #2078
2020-06-11 11:46:00 -07:00

11 lines
94 B
Go

package main
func main() {
f(nil) //break
println("ok")
}
func f(x *int) {
println(*x)
}