Description[debug] Handle OOM events in debugger tests
Map OOM breaks generated by inspector to DebugEvent.OOM.
This avoids generating unintentional DebugEvent.Break events.
Also be more future-proof in event categorization.
On a related note, this CL also fixes a DCHECK in
Runtime::GetFrameDetails.
The receiver needs to be grabbed from the inlined frame, not
the outer optimized frame. Optimized frames only provide the
receiver on a best-effort basis.
BUG=v8:5950
Review-Url: https://codereview.chromium.org/2696173002
Cr-Commit-Position: refs/heads/master@{#43244}
Committed: https://chromium.googlesource.com/v8/v8/+/e9f5e1e99ed6d5c4930700be848f205bb1758369
Patch Set 1 #Patch Set 2 : Merge with OOM event #Patch Set 3 : Disable receiver DCHECK for optimized frames #
Messages
Total messages: 22 (18 generated)
|