-1

I am following this example to learn more about Memory Snapshots.

The example mentions, that hoovering over an allocated object should show the object instance, e.g. enter image description here

This would be super convenient, but it does not work for me.
enter image description here

Am I missing something, or is there some setting to activate this feature?

Notes:

  • I am using Chrome Version 89.0.4389.82 64-bit (also tried 91.0.4439.0)
  • Hoovering over variables in the Sources tab works
  • I have already tried Restore defaults and reload in the Settings (still not working)
  • A workaround for now is to right-click on the variable and select Store as global variable. Then we can see the object instance in the console.
4

1 回答 1

0

这是 Chrome 中的一个错误,因为版本 >= 88:问题 1185573:对象的悬停预览在内存分析器中被破坏
感谢wOxxOm的评论

作为临时解决方法,我从此处下载了便携式 Google Chrome 版本 87

只需退出所有现有的 Chrome 浏览器实例,安装到专用目录并运行名为GoogleChromePortable.exe.
实际上这非常适合测试,因为我们现在还有一个干净的 chrome 用户配置文件,没有安装任何扩展等
。我们可以轻松删除并重新安装便携式应用程序。

另请参阅:回答“我可以在同一台机器上运行多个版本的 Google Chrome 吗?(Mac 或 Windows)”

于 2021-03-07T16:21:21.637 回答