Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: add GOTRACEBACK=oneline? #14945

Closed
josharian opened this issue Mar 24, 2016 · 1 comment
Closed

runtime: add GOTRACEBACK=oneline? #14945

josharian opened this issue Mar 24, 2016 · 1 comment

Comments

@josharian
Copy link
Contributor

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.

@josharian josharian added this to the Unplanned milestone Mar 24, 2016
@josharian
Copy link
Contributor Author

Survey says: No. :)

@golang golang locked and limited conversation to collaborators Mar 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants