Bug 173627

Summary: Web Inspector: Should be able to pause and debug an OutOfMemory Exception
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes, joepeck, mark.lam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Joseph Pecoraro
Reported 2017-06-20 17:16:20 PDT
Summary: Should be able to pause and debug an OutOfMemory Exception Test: <script> s = "a"; while (1) s += s; </script> Steps to reproduce: 1. Inspect test page 2. Enable: Pause on All Exceptions 3. Reload the page => Should pause on Out of Memory Exception => Should be able to evaluate in console `s.length` Note: - Currently WebCore is spending time stringifying and sending scope / global variable `s` to the frontend. That should not be necessary.
Attachments
Joseph Pecoraro
Comment 1 2017-06-20 17:26:22 PDT
To address this we should be very careful about sending very large objects (like strings / arrays) to the frontend in one piece.
Radar WebKit Bug Importer
Comment 2 2017-06-20 17:41:02 PDT
Note You need to log in before you can comment on or make changes to this bug.