[Webkit-unassigned] [Bug 163151] Web Inspector: Heap Snapshot should be able to tell me if an object was collected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 11 14:22:54 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=163151

--- Comment #5 from Saam Barati <sbarati at apple.com> ---
My perfect debugging scenario for what I was trying to do would go like this:
1. Take a snapshot
2. Pause JS execution
3. Find an object inside the snapshot
4. Ask the inspector to notify me when it gets destructed
5. continue JS execution

alternatively, some API for doing this like:
```
let object = new Array(someLargeNumber);
console.onDestruction(object, function callback() { ... });
...
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161011/6ecbd87d/attachment-0001.html>


More information about the webkit-unassigned mailing list