OLD | NEW |
1 CONSOLE MESSAGE: Hello Instance of 'Window' | 1 CONSOLE MESSAGE: line 1: Hello [object Window] |
2 CONSOLE MESSAGE: foo | 2 CONSOLE MESSAGE: line 1: foo |
3 | 3 |
4 Running: testScopeChain | 4 Running: testScopeChain |
5 Set timer for test function. | 5 Set timer for test function. |
6 Script execution paused. | 6 Script execution paused. |
7 Call stack: | 7 Call stack: |
8 0) handleMessage (evaluate-in-console.dart:13) | 8 0) handleMessage (evaluate-in-console.dart:13) |
| 9 1) Function._apply(VM_PRIVATE_MANGLING) (dart:core-patch/function_patch.dart
:7) |
| 10 2) Function.apply (dart:core-patch/function_patch.dart:28) |
| 11 3) _CreateDartFunctionForInteropIgnoreThis(VM_PRIVATE_MANGLING).call (dart:j
s:xxxx) |
9 test.instanceField = "Test.instanceField" | 12 test.instanceField = "Test.instanceField" |
10 test.instanceField = "new value" = "new value" | 13 test.instanceField = "new value" = "new value" |
11 test.foo = null | 14 test.foo = null |
12 test.foo = 3 = 3 | 15 test.foo = 3 = 3 |
13 test.foo = 3 | 16 test.foo = 3 |
14 test.somePropertyThatDoesntExist = Uncaught Unhandled exception: | 17 test.somePropertyThatDoesntExist = Uncaught Unhandled exception: |
15 Class 'Test' has no instance getter 'somePropertyThatDoesntExist'. | 18 Class 'Test' has no instance getter 'somePropertyThatDoesntExist'. |
16 | 19 |
17 NoSuchMethodError: method not found: 'somePropertyThatDoesntExist' | 20 NoSuchMethodError: method not found: 'somePropertyThatDoesntExist' |
18 Receiver: Instance of 'Test' | 21 Receiver: Instance of 'Test' |
19 Arguments: [] | 22 Arguments: [] |
20 #0 Object._noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) | 23 #0 Object._noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) |
21 #1 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) | 24 #1 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) |
22 #2 Eval.<anonymous closure> (evaluate:source:2:6) | 25 #2 Eval.<anonymous closure> (evaluate:source:2:6) |
23 #3 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5) | 26 #3 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5) |
| 27 #4 Function._apply (DART_CORE_LIBRARY_SOURCE_LOCATION) |
| 28 #5 Function.apply (DART_CORE_LIBRARY_SOURCE_LOCATION) |
| 29 #6 _CreateDartFunctionForInteropIgnoreThis.call (DART_CORE_LIBRARY_SOURCE_L
OCATION) |
24 test.toString() = "<Test instance with instanceField = new value>" | 30 test.toString() = "<Test instance with instanceField = new value>" |
25 test.toString(1) = Uncaught Unhandled exception: | 31 test.toString(1) = Uncaught Unhandled exception: |
26 Class 'Test' has no instance method 'toString' with matching arguments. | 32 Class 'Test' has no instance method 'toString' with matching arguments. |
27 | 33 |
28 NoSuchMethodError: incorrect number of arguments passed to method named 'toStrin
g' | 34 NoSuchMethodError: incorrect number of arguments passed to method named 'toStrin
g' |
29 Receiver: Instance of 'Test' | 35 Receiver: Instance of 'Test' |
30 Tried calling: toString(1) | 36 Tried calling: toString(1) |
31 Found: toString() | 37 Found: toString() |
32 #0 Object._noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) | 38 #0 Object._noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) |
33 #1 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) | 39 #1 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) |
34 #2 Eval.<anonymous closure> (evaluate:source:2:6) | 40 #2 Eval.<anonymous closure> (evaluate:source:2:6) |
35 #3 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5) | 41 #3 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5) |
| 42 #4 Function._apply (DART_CORE_LIBRARY_SOURCE_LOCATION) |
| 43 #5 Function.apply (DART_CORE_LIBRARY_SOURCE_LOCATION) |
| 44 #6 _CreateDartFunctionForInteropIgnoreThis.call (DART_CORE_LIBRARY_SOURCE_L
OCATION) |
36 test.create("x").instanceField = "x" | 45 test.create("x").instanceField = "x" |
37 test.concat(test.create("x"), test.create("y")) = "new value:x:y" | 46 test.concat(test.create("x"), test.create("y")) = "new value:x:y" |
38 _private = "private" | 47 _private = "private" |
39 globalField = null | 48 globalField = null |
40 calculateSquareRoot(25) = 5 | 49 calculateSquareRoot(25) = 5 |
41 new Element.tag("div").outerHtml = "<div></div>" | 50 new Element.tag("div").outerHtml = "<div></div>" |
42 (new Element.tag("div")..append(new Element.tag("h1"))).outerHtml = "<div><h1></
h1></div>" | 51 (new Element.tag("div")..append(new Element.tag("h1"))).outerHtml = "<div><h1></
h1></div>" |
43 new Element.tag("div").tagName = "DIV" | 52 new Element.tag("div").tagName = "DIV" |
44 intList.toString() = "(4, 2)" | 53 intList.toString() = "(4, 2)" |
45 (LinkedList).toString() = "LinkedList" | 54 (LinkedList).toString() = "LinkedList" |
46 var a=new List<int>()..add(4)..add(42) = [4, 42] | 55 var a=new List<int>()..add(4)..add(42) = [4, 42] |
47 a.toString() = "[4, 42]" | 56 a.toString() = "[4, 42]" |
48 $consoleVariables.variables() = [a] | 57 $consoleVariables.variables() = [a] |
49 var f = (x) => x*42 = (x) => x*42 | 58 var f = (x) => x*42 = |
50 | |
51 f(2) = 84 | 59 f(2) = 84 |
52 [] is List = true | 60 [] is List = true |
53 {} is List = false | 61 {} is List = false |
54 "This should be an int: ${10000000000000000000000 - 1}" = "This should be an int
: 9999999999999999999999" | 62 "This should be an int: ${10000000000000000000000 - 1}" = "This should be an int
: 9999999999999999999999" |
55 10000000000000000000000 is int = true | 63 10000000000000000000000 is int = true |
56 1.0 is int = false | 64 1.0 is int = false |
57 1.0 is double = true | 65 1.0 is double = true |
58 ((x) => x * 2)(21) = 42 | 66 ((x) => x * 2)(21) = 42 |
59 ((x) { var z = x * 4; return z; })(21) = 84 | 67 ((x) { var z = x * 4; return z; })(21) = 84 |
60 print("Hello $window") = Hello Instance of 'Window' | 68 print("Hello $window") = (VM:LOCATION) Hello [object Window] |
61 | 69 |
62 Running: testPrint | 70 Running: testPrint |
63 Script execution resumed. | 71 Script execution resumed. |
64 | 72 |
OLD | NEW |