Open
Description
I originally opened this against delve, but I think anything having to do with a cursor position belongs here.
Using IntelliJ Idea 15.0.4, Go 1.6, go-lang plugin 0.10.1189, Windows 10 64 bit, JDK 1.8.0_74, delve ff0ec8ce00
I was stopped at a breakpoint. I placed the cursor on a line of code past the breakpoint and selected "run to cursor" from the context menu. Delve started execution again, all frames were removed from the debugger view and the program seemed to be in an indeterminate state, not running to completion or stopping where I had put the cursor. I only had the option to stop debugging.
To replicate:
- set breakpoint on line 6:
a := 2
- set cursor to anywhere on line 8:
fmt.Print("Hello", a, b)
- choose right click from the context menu
package main
import "fmt"
func main() {
a := 2
b := "foo"
fmt.Print("Hello", a, b)
fmt.Print(a * a)
}