When analyzing heap snapshots using Chrome devtools, I can't seem to figure out what the colours mean when viewing Detached DOM Trees. What is the difference between red & yellow?
相关问题
- Chrome dev tools exact computed value for CSS rule
- debugging webgl in chrome
- await work in chrome console without async wrapper
- Is the responsive-simulation in Chrome DevTools al
- How do I connect to a Java command-line tool with
相关文章
- Profiling Django with PyCharm
- How to hide miniprofiler?
- Profiling the Performance of a Google App Script
- Visual Studio Profiler showing “[broken]” as funct
- saving cProfile results to readable external file
- Chrome dev tools loses network history
- Capture callstack and events in Xperf
- Stopping content script in chrome extension
Update for 2018
When using Chrome v70.0.3538.77, I found that Nodes had no background highlight at all (yet all the documentation available still refers to it), so I asked the Chromium dev team on Twitter.
From Mathias Bynens himself, it sounds like old versions of Chrome had unhighlighted references in some cases too (although this does not apply to my newer version of Chrome):
He followed up with this tweet:
He provided a screenshot of the new presentation format in this tweet.
There is a good explanation available here.
From the article:
I have not found a definitive answer, but this seems to be consistently true:
A red background indicates a detached DOM node that is referenced from a variable in a closure.
A yellow background indicates a detached DOM node that is referenced from an object's property or an array element.