firefox-devtools / firefox-devtools/profiler

Cannot read a json file produced by hawktracer

Open
#3,112 2 comments 0 reactions 0 assignees View on GitHub
help wanted profile data
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

Hi!

I've run the following command on this [trace.zip](https://github.com/firefox-devtools/profiler/files/5715996/trace.zip):

`hawktracer-converter-rs --source trace.bin --output-file trace.json`

and I've got the following error when I tried to load the `trace.json` file on the profiler:

```
Couldn't read the file or parse the profile in it.

Error: Unserializing the profile failed: SyntaxError: JSON.parse: unexpected end of data at line 1 column 6837385 of the JSON data
```

Thanks in advance for your help! :)

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-352)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.