Skip to content

The only tool you need to know what is happening and how to fix it.

fix: lib/ui should be classified as a library frame

dduxce35622c28b8
diff --git a/frontend/src/lib/utils/stack-trace-parser.ts b/frontend/src/lib/utils/stack-trace-parser.ts
index c6da95b9..fd2f63a3 100644
--- a/frontend/src/lib/utils/stack-trace-parser.ts
+++ b/frontend/src/lib/utils/stack-trace-parser.ts
@@ -24,6 +24,7 @@ function isLibraryLocation(location: string): boolean {
/^node:/.test(location) ||
/^dart:/.test(location) ||
/^third_party\//.test(location) ||
+ /^lib\/ui\//.test(location) ||
/^package:(flutter(\/|_)|collection\/)/.test(location) ||
/SnapshotInstructions\+0x/.test(location)
);
@@ -40,6 +41,7 @@ function extractPackageName(location: string): string {
if (dartMatch) return dartMatch[1];
if (/^third_party\//.test(location)) return 'dart sdk';
+ if (/^lib\/ui\//.test(location)) return 'dart:ui';
if (/SnapshotInstructions\+0x/.test(location)) return 'unresolved';
return 'library';