Open ssivanatarajan opened 6 years ago
Any update on this issue?
@paulirish
Sometimes this error is observed if your timeline trace has some missing samples. Try loading the trace using the graphic timeline viewer and see if the console gives you any error.
@paulirish I got this same error while parsing the timeline profile.
Here is the log trace,
TypeError: Cannot read property 'error' of undefined
at TimelineModel.TimelineModel._extractCpuProfile (chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js:471:22)
at TimelineModel.TimelineModel._injectJSFrameEvents (chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js:482:31)
at TimelineModel.TimelineModel._processThreadEvents (chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js:505:23)
at TimelineModel.TimelineModel.setEvents (chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js:197:16)
at SandboxedModel.init (evalmachine.
It would be very helpful if you provide the solution.
Thanks in advance!!!
Hey I know I'm 3 years late to the party, but if anyone is struggling with this issue take a look at the code for: https://www.npmjs.com/package/tracealyzer
The issue is some events need to be cleaned up before parsing.
I am using Tracealayzer node module. got the below error in devtools-timeline module