When I use build in debug tools of Goland to debug a program with fmt.Scan(), it cannot work after the line of fmt.Scan(). The debugger can work before it reach the line of fmt.Scan(), but as soon as it reach fmt.Scan(), the debugger frames indicate that "Frames are not available", and whatever I input into the console, the program don't move on anymore.
func main() {
var n int
fmt.Scan(&n) //stuck here.
fmt.Println(n) //whatever input to the console, cannot reach here.
}