调试golang程序时如何检查GoLand中的全局变量?

When I debug a go program in GoLand, I can't see the value of global variable. Can anyone tell me why and how to fix it?

Here is an example:

I set a breakpoint in the last line of main function. But as shown in the picture, we can only get the value of 'a', but not 'a' and 'xx'.

package main

import "fmt"

var xx int = 1

func main() {
    var a int = 1
    fmt.Println(a)
    xx = 3
    fmt.Println("end")
}

enter image description here

I think there is no way to show all global variables automatically. Just add them manually (by clicking plus sign or pressing Insert).

We can use Evaluate function to get the value of global variables, but can only get one value each time

evaluate

visual code will show both local and global variables.