浏览器上的golang`runtime / trace`查看器

when i run go tool trace m.trace it opens this link http://127.0.0.1:37721/trace

on both chrome & firefox i go an empty page

in chrome Console i found this error

GET http://127.0.0.1:37721/trace_viewer_html 404 (Not Found) Uncaught ReferenceError: tr is not defined

i found this question talk about issue in firefox and chrome version i use ubuntu16.04/chrome66.0/golang1.10

  1. so what should i do to be able to view the trace
  2. is there is an online tool could i upload my m.trace file to browse online

the problem was "I install Go from your OS package manager"

after reinstalling GO following official instructions the problem solved

you can find more in issue created with golang repo here