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

cmd/pprof: web command works but -web flag does not #11729

josharian opened this issue Jul 15, 2015 · 3 comments

cmd/pprof: web command works but -web flag does not #11729

josharian opened this issue Jul 15, 2015 · 3 comments


Copy link

@josharian josharian commented Jul 15, 2015

$ go tool pprof -web x.test

results in a 404 in my browser.

$ go tool pprof x.test
Entering interactive mode (type "help" for commands)
(pprof) web

results in an svg displayed in my browser.

Copy link

@ebfe ebfe commented Jul 18, 2015

On a side note: "web" seems a misnomer for the current implementation. It uses xdg-open on Linux and at least on some systems xdg-open doesn't launch a browser but gimp to view the svg.

Copy link

@rsc rsc commented Jul 20, 2015

I think the problem is that -web exits (deleting the temp file) before the browser has had a chance to open it.

Copy link

@gopherbot gopherbot commented Jul 22, 2015

CL mentions this issue.

@rsc rsc closed this in 3bab4ef Jul 23, 2015
@mikioh mikioh modified the milestones: Go1.5, Go1.5Maybe Jul 23, 2015
@golang golang locked and limited conversation to collaborators Aug 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants
You can’t perform that action at this time.