Home | History | Annotate | Download | only in inspector

Lines Matching full:sourceid

177 static bool parseLocation(ErrorString* errorString, RefPtr<InspectorObject> location, String* sourceId, int* lineNumber, int* columnNumber)
179 if (!location->getString("sourceID", sourceId) || !location->getNumber("lineNumber", lineNumber)) {
181 *errorString = "sourceId and lineNumber are required.";
191 String sourceId;
195 if (!parseLocation(errorString, location, &sourceId, &lineNumber, &columnNumber))
200 String breakpointId = makeString(sourceId, ":", String::number(lineNumber), ":", String::number(columnNumber));
204 *actualLocation = resolveBreakpoint(breakpointId, sourceId, breakpoint);
232 String sourceId;
236 if (!parseLocation(errorString, location, &sourceId, &lineNumber, &columnNumber))
240 m_continueToLocationBreakpointId = scriptDebugServer().setBreakpoint(sourceId, breakpoint, &lineNumber, &columnNumber);
244 PassRefPtr<InspectorObject> InspectorDebuggerAgent::resolveBreakpoint(const String& breakpointId, const String& sourceId, const ScriptBreakpoint& breakpoint)
246 ScriptsMap::iterator scriptIterator = m_scripts.find(sourceId);
264 String debugServerBreakpointId = scriptDebugServer().setBreakpoint(sourceId, breakpoint, &actualLineNumber, &actualColumnNumber);
274 location->setString("sourceID", sourceId);
280 void InspectorDebuggerAgent::editScriptSource(ErrorString* error, const String& sourceID, const String& newContent, RefPtr<InspectorArray>* newCallFrames)
282 if (scriptDebugServer().editScriptSource(sourceID, newContent, error))
286 void InspectorDebuggerAgent::getScriptSource(ErrorString*, const String& sourceID, String* scriptSource)
288 *scriptSource = m_scripts.get(sourceID).data;
375 void InspectorDebuggerAgent::didParseSource(const String& sourceID, const String& url, const String& data, int lineOffset, int columnOffset, bool isContentScript)
378 m_frontend->scriptParsed(sourceID, url, lineOffset, columnOffset, data.length(), isContentScript);
380 m_scripts.set(sourceID, Script(url, data, lineOffset, columnOffset));
396 RefPtr<InspectorObject> location = resolveBreakpoint(it->first, sourceID, breakpoint);