blob: d342c44f15b13dc4fc8b3adf22d68271f74fdb7f [file] [log] [blame]
{{- /*
This template is a has overrides used when printing in verbose mode.
*/ -}}
{{- define "Traces" -}}
{{$count:=0}}{{range .}}{{$count = inc $count}}{{end}}
{{- if $count}}
Call stacks in your code:
{{$index := 1}}{{range .}} #{{$index}}: for function {{.Symbol}}
{{- range .Trace}}
{{.Name}}{{if .Position}}
{{.Position}}{{end}}{{end}}
{{$index = inc 1}}{{end}}
{{- end -}}
{{- end -}}