-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.
TmTron
  • 17,012
  • 10
  • 94
  • 142

1 Answers1

0

It's a bug in Chrome since version >= 88: Issue 1185573: Hover preview for objects is broken in memory profiler.
Thanks to wOxxOm for the comment

As a temporary workaround I have downloaded the Portable Google Chrome Version 87 from here.

Just exit all existing Chrome browser instances, install into a dedicated directory and run the executable named GoogleChromePortable.exe.
Actually this is perfect for testing, because we now also have a clean chrome user-profile without any installed extensions, etc.
And we can easily delete and reinstall the portable app.

See also: Answer to "Can I run multiple versions of Google Chrome on the same machine? (Mac or Windows)"

TmTron
  • 17,012
  • 10
  • 94
  • 142