Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cmd/pprof: -weblist and -output don't play well together #13413
This issue isn't very serious but can be annoying nevertheless.
What version of Go are you using (go version)?
go 1.5.1 (the issue also exists in tip)
What operating system and processor architecture are you using?
What did you do?
I was working on a headless system.
What did you expect to see?
I expected that there would be a file named listing.html containing the profiling report.
What did you see instead?
The file listing.html was created, but remained empty.
Note that the same command works if I use
I think that the default behaviour of opening a browser to display the report is very convenient. But if the user specifies
As a workaround, I placed a small script named
This works now for 1.11.