Uncaught Exception: TypeError: null is not an object (evaluating 'selectedTreeElement.representedObject') * STEPS TO REPRODUCE 1. Inspect any page 2. Set a breakpoint by clicking in the gutter 3. Delete the breakpoint by dragging it off the gutter => Exception * NOTES - The Breakpoint Tree Outline doesn't have any selected tree element and the breakpoint is getting removed. ------- Uncaught Exceptions: - TypeError: null is not an object (evaluating 'selectedTreeElement.representedObject') (at SourcesNavigationSidebarPanel.js:1763:36) _handleBreakpointElementAddedOrRemoved @ SourcesNavigationSidebarPanel.js:1763:36 dispatch @ Object.js:165:30 dispatchEventToListeners @ Object.js:172:17 removeChildAtIndex @ TreeOutline.js:392:49 removeChild @ TreeOutline.js:406:32 _removeDebuggerTreeElement @ SourcesNavigationSidebarPanel.js:1209:38 _removeBreakpoint @ SourcesNavigationSidebarPanel.js:1148:40 _handleDebuggerBreakpointRemoved @ SourcesNavigationSidebarPanel.js:1985:31 dispatch @ Object.js:165:30 dispatchEventToListeners @ Object.js:172:17 removeBreakpoint @ DebuggerManager.js:636:38 textEditorBreakpointRemoved @ SourceCodeTextEditor.js:1329:44 _documentMouseUp @ TextEditor.js:1598:63 _documentMouseUp @ [native code] -------
<rdar://problem/55292615>
Created attachment 378627 [details] [PATCH] Proposed Fix
Comment on attachment 378627 [details] [PATCH] Proposed Fix r=me, good catch!
Comment on attachment 378627 [details] [PATCH] Proposed Fix Clearing flags on attachment: 378627 Committed r249800: <https://trac.webkit.org/changeset/249800>
All reviewed patches have been landed. Closing bug.