github.com/cnboonhan/delve@v0.0.0-20230908061759-363f2388c2fb/pkg/terminal/groups.go (about)

     1  package terminal
     2  
     3  type commandGroup uint8
     4  
     5  const (
     6  	otherCmds commandGroup = iota
     7  	breakCmds
     8  	runCmds
     9  	dataCmds
    10  	goroutineCmds
    11  	stackCmds
    12  )
    13  
    14  type commandGroupDescription struct {
    15  	description string
    16  	group       commandGroup
    17  }
    18  
    19  var commandGroupDescriptions = []commandGroupDescription{
    20  	{"Running the program", runCmds},
    21  	{"Manipulating breakpoints", breakCmds},
    22  	{"Viewing program variables and memory", dataCmds},
    23  	{"Listing and switching between threads and goroutines", goroutineCmds},
    24  	{"Viewing the call stack and selecting frames", stackCmds},
    25  	{"Other commands", otherCmds},
    26  }