You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I sometimes want simple, single-line tracebacks so I can pipe them en masse to other tools (sort, uniq, etc). In the past, I've hacked up gentraceback and friends to generate just whitespace-separated filename and line number, roughly like:
I'm perfectly happy to just carry about my patch as needed, but I thought I'd check whether there's enough interest that this should be given more support, perhaps via a GOTRACEBACK value. Input requested.
The text was updated successfully, but these errors were encountered:
I sometimes want simple, single-line tracebacks so I can pipe them en masse to other tools (sort, uniq, etc). In the past, I've hacked up gentraceback and friends to generate just whitespace-separated filename and line number, roughly like:
cmd/compile/internal/gc/syntax.go:48 cmd/compile/internal/gc/dcl.go:45 cmd/compile/internal/gc/subr.go:910234 cmd/compile/internal/gc/main.go:23 cmd/compile/main.go:22
I'm perfectly happy to just carry about my patch as needed, but I thought I'd check whether there's enough interest that this should be given more support, perhaps via a GOTRACEBACK value. Input requested.
The text was updated successfully, but these errors were encountered: