github.com/cnboonhan/delve@v0.0.0-20230908061759-363f2388c2fb/_fixtures/longstrings.go (about) 1 package main 2 3 import ( 4 "runtime" 5 ) 6 7 func buildString(length int) string { 8 s := "" 9 for i := 0; i < length; i++ { 10 s = s + "x" 11 } 12 return s 13 } 14 15 func main() { 16 s513 := buildString(513) 17 s1025 := buildString(1025) 18 s4097 := buildString(4097) 19 nested := map[int]string{513: s513, 1025: s1025, 4097: s4097} 20 runtime.Breakpoint() 21 _ = nested 22 }