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

go tool trace - shows blank page on chrome, ON chrome console - trace:59 Uncaught ReferenceError: tr is not defined #37775

Closed
jaswant-code opened this issue Mar 10, 2020 · 4 comments

Comments

@jaswant-code
Copy link

What version of Go are you using (go version)?

$ go version 
tried on go version 1.13.8 and go version 1.14

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

Here is output of go env :
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Developer\AppData\Local\go-build
set GOENV=C:\Users\Developer\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=D:\Developer\Workspace\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\DEVELO~1\AppData\Local\Temp\go-build862119046=/tmp/go-build -gno-record-gcc-switches

go env Output
$ go env

What did you do?

I ran - go tool trace trace.out

https://play.golang.org/p/vYu6oIFs1dZ

What did you expect to see?

I expected to see trace of my simple main function.

What did you see instead?

Other links work fine, only trace link show blank page with exception in chrome console.

@jaswant-code
Copy link
Author

trace_error

This is the screenshot of chrome browser console. Google Chrome Build Version 80.0.3987.132 (Official Build) (64-bit)

@changkun
Copy link
Member

changkun commented Mar 10, 2020

dup #34374

@hyangah
Copy link
Contributor

hyangah commented Mar 10, 2020

I expect the fix to be included in the next minor release.
Meanwhile, please use the workarounds mentioned in #34374.

@hyangah hyangah closed this as completed Mar 10, 2020
@jaswant-code
Copy link
Author

ok thanks, I am learning go, so I will wait for the fix.

@golang golang locked and limited conversation to collaborators Mar 11, 2021
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

4 participants