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