Skip to content

Commit 729c1c0

Browse files
mralephCommit Queue
authored andcommitted
Fix Collect Report functionality
When language server is started through dartdev is gets classified as a system isolate, but Collect Report only looks at user isolates. I have looked at various ways to fix this but it is complicated because we are in the middle of rewiring dartdev to work with AOT built tools. I would like a trivial change that can be easily cherry-picked into stable release. Thus I am opting in to simply change data collection code to collect information from both user and system isolates. Change-Id: I00f9eb937153fc730feccf778e5cd2f69d222a18 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/393341 Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Slava Egorov <[email protected]>
1 parent 523ab95 commit 729c1c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/analysis_server/lib/src/status/diagnostics.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ class CollectReportPage extends DiagnosticPage {
525525

526526
var isolateData = [];
527527
collectedData['isolates'] = isolateData;
528-
var isolates = vm.isolates ?? [];
528+
var isolates = [...?vm.isolates, ...?vm.systemIsolates];
529529
for (var isolate in isolates) {
530530
String? id = isolate.id;
531531
if (id == null) continue;

0 commit comments

Comments
 (0)