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