delve/_fixtures/testtoggle.go
Álex Sáez f5d2e132bc
*: Adds toggle command (#2208)
* Adds toggle command

Also adds two rpc2 tests for testing the new functionality

* Removes Debuggers' ToggleBreakpoint method

rpc2's ToggleBreakpoint now calls AmendBreakpoint
Refactors the ClearBreakpoint to avoid a lock.
2021-03-19 11:02:23 -07:00

24 lines
247 B
Go

package main
import (
"fmt"
)
func lineOne() {
fmt.Println("lineOne function")
}
func lineTwo() {
fmt.Println("lineTwo function")
}
func lineThree() {
fmt.Println("lineThree function")
}
func main() {
lineOne()
lineTwo()
lineThree()
}