Chromium Code Reviews| Index: tests/debugger/print_local_structure_expected.txt |
| diff --git a/tests/debugger/print_local_structure_expected.txt b/tests/debugger/print_local_structure_expected.txt |
| index 3e8860d48f0a1076d4db193aff8a757c4387c9ef..65a599650cfc7f12ae2cff7f6dc77e2f5279ffca 100644 |
| --- a/tests/debugger/print_local_structure_expected.txt |
| +++ b/tests/debugger/print_local_structure_expected.txt |
| @@ -42,5 +42,30 @@ Instance of 'S3' { |
| 0 |
| > p a.s.shadowMe.a |
| ### could not access 'a.s.shadowMe.a': 'a.s.shadowMe' is a primitive value '0' and does not have a field named 'a' |
| +> p *list._list |
| +Array with length 3 [ |
| + 0 = null |
| + 1 = Instance of 'A' |
| + 2 = null |
| +] |
| +> p *list._list.1 |
|
Søren Gjesse
2016/06/15 11:25:09
How about the operator [] syntax?
sigurdm
2016/06/15 14:50:49
Good idea. I'll handle that in a follow up CL.
|
| +Instance of 'A' { |
| + S0.str: 'spaß' |
| + S1.i: 42 |
| + S1.i2: 8589934592 |
| + S2.n: null |
| + S2.d: 42.42 |
| + S3.shadowMe: 0 |
| + A.shadowMe: 42 |
| + A.t: true |
| + A.f: false |
| + A.s: Instance of 'S3' |
| +} |
| +> p *list._list.k |
| +### could not access 'list._list.k': list._list' is an array with length 3. It cannot be indexed with k |
| +> p *list._list.-1 |
| +### could not access 'list._list.-1': list._list' is an array with length 3. It cannot be indexed with -1 |
| +> p *list._list.4 |
| +### could not access 'list._list.4': list._list' is an array with length 3. It cannot be indexed with 4 |
| > c |
| ### process terminated |