Lines Matching refs:sourceCode
189 breakpointsForSourceCode: function(sourceCode)
191 console.assert(sourceCode instanceof WebInspector.Resource || sourceCode instanceof WebInspector.Script);
193 if (sourceCode instanceof WebInspector.SourceMapResource) {
195 var originalSourceCodeBreakpoints = this.breakpointsForSourceCode(sourceCode.sourceMap.originalSourceCode);
197 return breakpoint.sourceCodeLocation.displaySourceCode === sourceCode;
201 if (sourceCode.url in this._breakpointURLMap) {
202 var urlBreakpoint = this._breakpointURLMap[sourceCode.url] || [];
203 this._associateBreakpointsWithSourceCode(urlBreakpoint, sourceCode);
207 if (sourceCode instanceof WebInspector.Script && sourceCode.id in this._breakpointScriptIdentifierMap) {
208 var scriptIdentifierBreakpoints = this._breakpointScriptIdentifierMap[sourceCode.id] || [];
209 this._associateBreakpointsWithSourceCode(scriptIdentifierBreakpoints, sourceCode);
334 if (breakpoint.sourceCodeLocation.sourceCode)
335 breakpoint.sourceCodeLocation.sourceCode = null;
366 if (!sourceCodeLocation.sourceCode)
369 if (sourceCodeLocation.sourceCode.url && sourceCodeLocation.sourceCode.url.startsWith("__WebInspector"))
720 _associateBreakpointsWithSourceCode: function(breakpoints, sourceCode)
726 if (breakpoint.sourceCodeLocation.sourceCode === null)
727 breakpoint.sourceCodeLocation.sourceCode = sourceCode;
729 console.assert(breakpoint.sourceCodeLocation.sourceCode === sourceCode || breakpoint.sourceCodeLocation.sourceCode.url === sourceCode.url);