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