This change moves materializeBreakpoint call to scriptBound method. Materializing breakpoints is now separated from uiSourceCode adding/removing and we'll be able to remove breakpoints from debugger when corresponding script is unbound from uiSourceCode.
Created attachment 133267 [details] Patch
Created attachment 133271 [details] Patch