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