From 93d772c5cdd8399de64daa83169f4f964c4e01b2 Mon Sep 17 00:00:00 2001 From: Ben Konyi Date: Thu, 21 Nov 2024 13:33:15 -0500 Subject: [PATCH] Added additional logging to `_listCoreDevices` (#159275) Attempting to collect additional context into the failure outlined in https://github.com/flutter/flutter/issues/141892 --- packages/flutter_tools/lib/src/ios/core_devices.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/flutter_tools/lib/src/ios/core_devices.dart b/packages/flutter_tools/lib/src/ios/core_devices.dart index 2ccbb21a6a..fb851550cd 100644 --- a/packages/flutter_tools/lib/src/ios/core_devices.dart +++ b/packages/flutter_tools/lib/src/ios/core_devices.dart @@ -94,6 +94,10 @@ class IOSCoreDeviceControl { _logger.printError('The process exited with code ${result.exitCode} and'); _logger.printError('Stdout:\n\n${result.stdout.trim()}\n'); _logger.printError('Stderr:\n\n${result.stderr.trim()}'); + _logger.printError('Using file system type: ${_fileSystem.runtimeType}'); + if (_fileSystem is LocalFileSystem) { + _logger.printError('LocalFileSystem disposed: ${_fileSystem.disposed}'); + } throw StateError('Expected the file ${output.path} to exist but it did not'); } else if (isToolPossiblyShutdown) { return [];