[flutter_tool] Don't truncate verbose logs from _flutter.listViews (#34255)

diff --git a/packages/flutter_tools/lib/src/vmservice.dart b/packages/flutter_tools/lib/src/vmservice.dart
index 6ba3677..dcdac64 100644
--- a/packages/flutter_tools/lib/src/vmservice.dart
+++ b/packages/flutter_tools/lib/src/vmservice.dart
@@ -843,12 +843,15 @@
   Future<Map<String, dynamic>> invokeRpcRaw(
     String method, {
     Map<String, dynamic> params = const <String, dynamic>{},
+    bool truncateLogs = true,
   }) async {
     printTrace('Sending to VM service: $method($params)');
     assert(params != null);
     try {
       final Map<String, dynamic> result = await _vmService._sendRequest(method, params);
-      printTrace('Result: ${_truncate(result.toString(), 250, '...')}');
+      final String resultString =
+          truncateLogs ? _truncate(result.toString(), 250, '...') : result.toString();
+      printTrace('Result: $resultString');
       return result;
     } on WebSocketChannelException catch (error) {
       throwToolExit('Error connecting to observatory: $error');
@@ -864,10 +867,12 @@
   Future<T> invokeRpc<T extends ServiceObject>(
     String method, {
     Map<String, dynamic> params = const <String, dynamic>{},
+    bool truncateLogs = true,
   }) async {
     final Map<String, dynamic> response = await invokeRpcRaw(
       method,
       params: params,
+      truncateLogs: truncateLogs,
     );
     final ServiceObject serviceObject = ServiceObject._fromMap(this, response);
     if ((serviceObject != null) && (serviceObject._canCache)) {
@@ -971,7 +976,8 @@
       // When the future returned by invokeRpc() below returns,
       // the _viewCache will have been updated.
       // This message updates all the views of every isolate.
-      await vmService.vm.invokeRpc<ServiceObject>('_flutter.listViews');
+      await vmService.vm.invokeRpc<ServiceObject>(
+          '_flutter.listViews', truncateLogs: false);
       if (_viewCache.values.isNotEmpty || !waitForViews)
         return;
       failCount += 1;