Files
sdk/runtime/observatory_2/tests/ui/retainingPath.txt
T
Ryan Macnak 6c31582031 Copy Dart 2 version of Observatory and service tests.
Change-Id: If47aa98918b0166dba781a0008c23b991d46fe1c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/165420
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2020-10-07 22:20:25 +00:00

19 lines
396 B
Plaintext

0.
dart --observe retainingPath.dart
1.
isolate 'root'
2.
library 'retainingPath.dart'
3.
class 'Foo'
4.
under 'instances', find 'strongly reachable' list; it should contain 2 elements, one of which should have a field containing "87"
5.
instance "87"
6.
find 'retaining path'; it should have length 4, and be annotated as follows:
"87" in var a
Foo in var b
Foo at list index 5 of
_List(10)