## Description

Array and slice elements, member fields of structs, key/value pairs of maps, value of complex numbers The Name field in this slice will always be the empty string except for structs (when it will be the field name) and for complex numbers (when it will be "real" and "imaginary") For maps each map entry will have to items in this slice, even numbered items will represent map keys and odd numbered items will represent their values This field's length is capped at proc.maxArrayValues for slices and arrays and 2*proc.maxArrayValues for maps, in the circumnstances where the cap takes effect len(Children) != Len The other length cap applied to this field is related to maximum recursion depth, when the maximum recursion depth is reached this field is left empty, contrary to the previous one this cap also applies to structs (otherwise structs will always have all their member fields returned)

## Examples

} if len(m1.Children)/2 != 41 { t.Fatalf("Wrong number of children: %d", len(m1.Children)/2) }

if len(m1.Children)/2 != 41 { t.Fatalf("Wrong number of children: %d", len(m1.Children)/2) }

found := false for i := range m1.Children { if i%2 == 0 && m1.Children[i].Value == "Malone" { found = true

## Children is referenced in 1 repository

**github.com/derekparker/delve**

- 50 references in service/api/prettyprint.go
- 16 references in service/api/conversions.go
- 4 references in service/test/variables_test.go

## Definition

Children []Variable `json:"children"`