diff --git a/packages/flutter_tools/lib/src/commands/trace.dart b/packages/flutter_tools/lib/src/commands/trace.dart index e9f1a20c24..aa80b2b303 100644 --- a/packages/flutter_tools/lib/src/commands/trace.dart +++ b/packages/flutter_tools/lib/src/commands/trace.dart @@ -189,10 +189,12 @@ Future downloadStartupTrace(VMService observatory) async { final int firstFrameTimestampMicros = extractInstantEventTimestamp(kFirstUsefulFrameEventName); if (engineEnterTimestampMicros == null) { + printTrace('Engine start event is missing in the timeline: $timeline'); throw 'Engine start event is missing in the timeline. Cannot compute startup time.'; } if (firstFrameTimestampMicros == null) { + printTrace('First frame event is missing in the timeline: $timeline'); throw 'First frame event is missing in the timeline. Cannot compute startup time.'; }