collectPCOffsets function
The PCOffsets for frames of the non-symbolic stack traces in lines
.
Implementation
Iterable<PCOffset> collectPCOffsets(Iterable<String> lines,
{bool lossy = false}) sync* {
final header = StackTraceHeader();
for (var line in lines) {
if (header.tryParseHeaderLine(line, lossy: lossy)) {
continue;
}
final match = _traceLineRE.firstMatch(line);
final offset = _retrievePCOffset(header, match);
if (offset != null) yield offset;
}
}