Bug 244349 - Web Inspector: Uncaught Exception: TypeError: undefined is not an object (evaluating 'this._breakpointMap[lineInfo.lineNumber][lineInfo.columnNumber]')
Summary: Web Inspector: Uncaught Exception: TypeError: undefined is not an object (eva...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL: https://webkit.org/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-25 12:24 PDT by Devin Rousso
Modified: 2022-08-25 13:44 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2022-08-25 12:24:46 PDT
Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. create an Assertion Failures breakpoint
2. evaluate `console.assert()`
3. resume execution
4. delete the Assertion Failures breakpoint

Uncaught Exceptions:
-----------------------
 - TypeError: undefined is not an object (evaluating 'this._breakpointMap[lineInfo.lineNumber][lineInfo.columnNumber]') (at SourceCodeTextEditor.js:468:79)
    _removeBreakpointWithEditorLineInfo @ SourceCodeTextEditor.js:468:79
    _breakpointRemoved @ SourceCodeTextEditor.js:710:49
    dispatch @ Object.js:134:35
    dispatchEventToListeners @ Object.js:142:17
    removeBreakpoint @ DebuggerManager.js:798:38
    remove @ JavaScriptBreakpoint.js:214:44
    ondelete @ BreakpointTreeElement.js:72:36
    _treeKeyDown @ TreeOutline.js:608:69
    _treeKeyDown @ [native code]
-----------------------

Notes:
Inspected URL:        https://webkit.org/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
Comment 1 Devin Rousso 2022-08-25 12:28:37 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3667
Comment 2 EWS 2022-08-25 13:43:13 PDT
Committed 253792@main (4a0a7c3f052c): <https://commits.webkit.org/253792@main>

Reviewed commits have been landed. Closing PR #3667 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-08-25 13:44:17 PDT
<rdar://problem/99153599>