delve/_fixtures/issue561.go
aarzilli 7c49d4968d proc: Implement Step using Continue
Instead of repeatedly calling StepInstruction set breakpoints to the
destination of CALL instructions (or on the CALL instructions
themselves for indirect CALLs), then call Continue.
Calls to unexported runtime functions are skipped.
Reduces the number of code paths managing inferior state from 3 to 2
(StepInstruction, Continue).

Fixes #561
2016-09-27 09:37:33 +02:00

12 lines
108 B
Go

package main
import "fmt"
func testfunction() {
fmt.Printf("here!\n")
}
func main() {
testfunction()
}