<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Heap Snapshot should be able to tell me if an object was collected"
   href="https://bugs.webkit.org/show_bug.cgi?id=163151#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Heap Snapshot should be able to tell me if an object was collected"
   href="https://bugs.webkit.org/show_bug.cgi?id=163151">bug 163151</a>
              from <span class="vcard"><a class="email" href="mailto:sbarati&#64;apple.com" title="Saam Barati &lt;sbarati&#64;apple.com&gt;"> <span class="fn">Saam Barati</span></a>
</span></b>
        <pre>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() { ... });
...
```</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>