-
Notifications
You must be signed in to change notification settings - Fork 128
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
Not a trace file error #20
Comments
i have the same issue. tried installing the patch and that isnt workin either. had to fine the ./gotrace executable and even then i couldnt get it to work |
Got the same error
|
I was able to get this to work using the go18 branch and running Go 1.8 with Docker. It's not ideal but does allow you to play with the visualiser. Below is the steps I went through:
Hope it helps |
Hey @DavyJ0nes , thanks for your suggestions! I followed your instructions and it works! The only issue is that I find the animation lacks arrow between the gorutines as below. Did you encounter the same issue? |
Hey, sorry for the unforgivably long response. I stuck in writing patch for Go 1.9-1.11 and I didn't have enough time to devote to this. |
Try this Dockerfile , will be more easy to use gotrace compiled by go1.8.
|
Hi,
I followed the steps as mentioned in the README, I got no errors at all when doing the instructions for
docker pull
anddocker run
. I can see thebinary file
and thetrace.out
file. However, when I run thegotrace ./trace.out ./binary
command, this error:panic: not a trace file goroutine 1 [running]: main.main() /Users/jeffreyyong/go/src/github.com/divan/gotrace/main.go:39 +0x3d2
occurred. It's strange, because I'm supposed to build/src/examples/hello.go
but the error occurs inmain.go
I am running it on MacOs. I am wondering if I have to set other environment variable like
GOARCH
when doingdocker run
?Regards,
Jeffrey
The text was updated successfully, but these errors were encountered: