Open fmeawad opened 8 years ago
Could it be because of this bug? If you send me the trace I can check if patching that CL fixes the issue.
Hmm that was 6 months ago. @petrcermak any ideas?
I don't think it's @primiano's change (there doesn't seem to be dot expansion involved here).
From what I can see, the items array might not be added to the dictionary if include_items is false, which is the case when the "cc.debug.display_items" tracing category is not enabled.
Perhaps the include_items flag should also be set to true when "disabled-by-default-devtools.timeline.picture" is enabled, but I think it would be better to just make Trace Viewer handle missing items graciously. Is there any relationship between "disabled-by-default-devtools.timeline.picture" and "cc.debug.display_items"?
I confirm that you need both categories to get that displayed properly, it is counter-intuitive. We can:
Regardless, if you are trying to reproduce this:
--enable-skia-benchmarking
enabled
Record a trace with "disabled-by-default-devtools.timeline.picture" category enabled. Click on one of the green dots that represents an Object Snapshot Ouptut: Details panel is empty Expected output: Details panel showing the Object Snapshot
JS Error: