Lines Matching refs:breakpointId
110 bool parseBreakpointId(const String16& breakpointId, BreakpointType* type, in parseBreakpointId() argument
113 size_t typeLineSeparator = breakpointId.find(':'); in parseBreakpointId()
116 int rawType = breakpointId.substring(0, typeLineSeparator).toInteger(); in parseBreakpointId()
129 size_t lineColumnSeparator = breakpointId.find(':', typeLineSeparator + 1); in parseBreakpointId()
132 breakpointId.find(':', lineColumnSeparator + 1); in parseBreakpointId()
135 *scriptSelector = breakpointId.substring(columnSelectorSeparator + 1); in parseBreakpointId()
138 *lineNumber = breakpointId in parseBreakpointId()
145 breakpointId in parseBreakpointId()
487 String16 breakpointId = in setBreakpointByUrl() local
510 if (breakpoints->get(breakpointId)) { in setBreakpointByUrl()
522 breakpointId, script.first, condition, lineNumber, columnNumber); in setBreakpointByUrl()
528 breakpoints->setString(breakpointId, condition); in setBreakpointByUrl()
532 breakpointHints->setString(breakpointId, hint); in setBreakpointByUrl()
534 *outBreakpointId = breakpointId; in setBreakpointByUrl()
542 String16 breakpointId = generateBreakpointId( in setBreakpoint() local
545 if (m_breakpointIdToDebuggerBreakpointIds.find(breakpointId) != in setBreakpoint()
549 *actualLocation = setBreakpointImpl(breakpointId, location->getScriptId(), in setBreakpoint()
554 *outBreakpointId = breakpointId; in setBreakpoint()
569 String16 breakpointId = in setBreakpointOnFunctionCall() local
571 if (m_breakpointIdToDebuggerBreakpointIds.find(breakpointId) != in setBreakpointOnFunctionCall()
577 setBreakpointImpl(breakpointId, function, condition); in setBreakpointOnFunctionCall()
578 *outBreakpointId = breakpointId; in setBreakpointOnFunctionCall()
582 Response V8DebuggerAgentImpl::removeBreakpoint(const String16& breakpointId) { in removeBreakpoint() argument
586 if (!parseBreakpointId(breakpointId, &type, &selector)) { in removeBreakpoint()
611 if (breakpoints) breakpoints->remove(breakpointId); in removeBreakpoint()
614 if (breakpointHints) breakpointHints->remove(breakpointId); in removeBreakpoint()
615 removeBreakpointImpl(breakpointId); in removeBreakpoint()
619 void V8DebuggerAgentImpl::removeBreakpointImpl(const String16& breakpointId) { in removeBreakpointImpl() argument
623 m_breakpointIdToDebuggerBreakpointIds.find(breakpointId); in removeBreakpointImpl()
632 m_breakpointIdToDebuggerBreakpointIds.erase(breakpointId); in removeBreakpointImpl()
779 V8DebuggerAgentImpl::setBreakpointImpl(const String16& breakpointId, in setBreakpointImpl() argument
806 m_debuggerBreakpointIdToBreakpointId[debuggerBreakpointId] = breakpointId; in setBreakpointImpl()
807 m_breakpointIdToDebuggerBreakpointIds[breakpointId].push_back( in setBreakpointImpl()
817 void V8DebuggerAgentImpl::setBreakpointImpl(const String16& breakpointId, in setBreakpointImpl() argument
825 m_debuggerBreakpointIdToBreakpointId[debuggerBreakpointId] = breakpointId; in setBreakpointImpl()
826 m_breakpointIdToDebuggerBreakpointIds[breakpointId].push_back( in setBreakpointImpl()
1485 String16 breakpointId = breakpointWithCondition.first; in didParseSource() local
1491 parseBreakpointId(breakpointId, &type, &selector, &lineNumber, in didParseSource()
1499 breakpointHints && breakpointHints->getString(breakpointId, &hint); in didParseSource()
1504 setBreakpointImpl(breakpointId, scriptId, condition, lineNumber, in didParseSource()
1507 m_frontend.breakpointResolved(breakpointId, std::move(location)); in didParseSource()
1556 const String16& breakpointId = breakpointIterator->second; in didPause() local
1557 hitBreakpointIds->addItem(breakpointId); in didPause()
1559 parseBreakpointId(breakpointId, &type); in didPause()
1632 String16 breakpointId = generateBreakpointId( in setBreakpointFor() local
1636 if (m_breakpointIdToDebuggerBreakpointIds.find(breakpointId) != in setBreakpointFor()
1640 setBreakpointImpl(breakpointId, function, condition); in setBreakpointFor()
1645 String16 breakpointId = generateBreakpointId( in removeBreakpointFor() local
1649 removeBreakpointImpl(breakpointId); in removeBreakpointFor()