Lines Matching defs:debug
13 // To enable the Debug function, delete the +build ignore line above and do
30 debugFunc = Debug
164 // Debug prints a human-readable representation of the gob data read from r.
166 func Debug(r io.Reader) {
167 err := debug(r)
169 fmt.Fprintf(os.Stderr, "gob debug: %s\n", err)
173 // debug implements Debug, but catches panics and returns
174 // them as errors to be printed by Debug.
175 func debug(r io.Reader) (err error) {
210 errorf("debug: read error: %s", err)
252 errorf("debug: unexpected error: %s", err)