gotraceui icon indicating copy to clipboard operation
gotraceui copied to clipboard

Support for v1.22 trace file

Open johnlarkin1 opened this issue 1 year ago • 4 comments

I have generated a trace file doing:

$ go test -trace trace.out ./pkg/code

I am then trying to load it in in this way:

╭─ user@mb-pro ~
╰─➤  go version
go version go1.22.2 darwin/arm64

╭─ user@mb-pro ~
╰─➤  gotraceui --version
gotraceui v0.4.0

╭─ user@mb-pro ~
╰─➤  gotraceui trace.out

But sadly it is resulting in an unsupported trace version.

Screenshot 2024-05-07 at 10 30 13 AM

Is Go v1.22 not supported? I pulled the source code, but couldn't actually see where the error is coming from.

I read through the manual and did not see explicit instructions on how to bundle up the tool after changing the source code to try out changes, but if those are provided, I'm more than happy to investigate and push up a PR. I would love that actually.

johnlarkin1 avatar May 07 '24 14:05 johnlarkin1

If you build from master, the trace format is supported. There just isn't a tagged release with the Go 1.22 trace file parser yet.

whereswaldon avatar May 07 '24 16:05 whereswaldon

We could use a new release, specifically to include support for v1.22.

emlazzarin avatar Jul 03 '24 08:07 emlazzarin

May I ask when will the support for 1.23 be ?

LeeTeng2001 avatar Jan 10 '25 03:01 LeeTeng2001

The current master branch (as of a47c61f) should be able to open Go 1.23 traces.

dominikh avatar Jan 10 '25 17:01 dominikh