OLD | NEW |
---|---|
1 CONSOLE MESSAGE: line 1: Hello <window> | |
1 CONSOLE MESSAGE: line 1: foo | 2 CONSOLE MESSAGE: line 1: foo |
2 Debugger was enabled. | 3 Debugger was enabled. |
3 | 4 |
4 Running: testScopeChain | 5 Running: testScopeChain |
5 Script execution paused. | 6 Script execution paused. |
6 Call stack: | 7 Call stack: |
7 0) handleMessage (evaluate-in-console.dart:13) | 8 0) handleMessage (evaluate-in-console.dart:13) |
8 test.instanceField = "Test.instanceField" | 9 test.instanceField = "Test.instanceField" |
9 test.instanceField = "new value" = "new value" | 10 test.instanceField = "new value" = "new value" |
10 test.foo = null | 11 test.foo = null |
11 test.foo = 3 = 3 | 12 test.foo = 3 = 3 |
12 test.foo = 3 | 13 test.foo = 3 |
13 test.somePropertyThatDoesntExist = undefined | 14 test.somePropertyThatDoesntExist = "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 eval.<anonymous closure> (:2:6) | |
22 #2 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5) | |
23 #3 eval.<anonymous closure> (:2:6) | |
24 #4 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5)" | |
14 test.toString() = "<Test instance with instanceField = new value>" | 25 test.toString() = "<Test instance with instanceField = new value>" |
15 test.toString(1) = "Unhandled exception: | 26 test.toString(1) = "Unhandled exception: |
16 Closure call with mismatched arguments: function 'call' | 27 Class 'Test' has no instance method 'toString' with matching arguments. |
17 | 28 |
18 NoSuchMethodError: incorrect number of arguments passed to method named 'call' | 29 NoSuchMethodError: incorrect number of arguments passed to method named 'toStrin g' |
19 Receiver: Closure: () => String from Function 'toString':. | 30 Receiver: Instance of 'Test' |
20 Tried calling: call(1) | 31 Tried calling: toString(1) |
21 Found: call() | 32 Found: toString() |
22 #0 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) | 33 #0 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) |
23 #1 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5)" | 34 #1 eval.<anonymous closure> (:2:14) |
35 #2 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5) | |
36 #3 eval.<anonymous closure> (:2:14) | |
37 #4 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5)" | |
24 test.create("x").instanceField = "x" | 38 test.create("x").instanceField = "x" |
25 test.concat(test.create("x"), test.create("y")) = "new value:x:y" | 39 test.concat(test.create("x"), test.create("y")) = "new value:x:y" |
26 _private = "private" | 40 _private = "private" |
27 globalField = null | 41 globalField = null |
28 calculateSquareRoot(25) = 5 | 42 calculateSquareRoot(25) = 5 |
29 new Element.tag("div").outerHtml = "<div></div>" | 43 new Element.tag("div").outerHtml = "<div></div>" |
44 (new Element.tag("div")..append(new Element.tag("h1"))).outerHtml = "<div><h1></ h1></div>" | |
30 new Element.tag("div").tagName = "DIV" | 45 new Element.tag("div").tagName = "DIV" |
31 intList.toString() = "{4, 2}" | 46 intList.toString() = "{4, 2}" |
32 intList.__proto__.someMethodThatDoesNotExist() = TypeError: Object #<LinkedList> has no method 'someMethodThatDoesNotExist' | 47 (LinkedList).toString() = "LinkedList" |
33 intList.__proto__.toString() = "Library:'dart:collection' Class: LinkedList" | 48 $var.a=new List<int>()..add(4)..add(42) = |
34 a=new List() = | 49 $var.a.toString() = "[4, 42]" |
35 jsObject={} = Object {} | 50 $var.object={"foo": "bar", "baz": 42} = _LinkedHashMap {:foo: "bar", :baz: 42, _ nextEntry@0x23c35ea0: _LinkedHashMapEntry, _previousEntry@0x23c35ea0: _LinkedHas hMapEntry, _elementCount@0x23c35ea0: 2…} |
vsm
2013/09/12 00:17:23
The hex numbers on the previous line might not be
Jacob
2013/09/17 21:44:43
Agreed. Removed that test case just to be safe. L
| |
36 jsObject.__proto__=a = | 51 $var.object.toString() = "{foo: bar, baz: 42}" |
37 jsObject.add(7) = null | 52 $var.keys() = |
38 a.toString() = "[7]" | 53 $var.f = (x) => x*42 = [Dart Function] {} |
54 $var.f(2) = 84 | |
55 [] is List = true | |
56 {} is List = false | |
57 "This should be an int: ${10000000000000000000000 - 1}" = "This should be an int : 9999999999999999999999" | |
58 10000000000000000000000 is int = true | |
59 1.0 is int = false | |
60 1.0 is double = true | |
61 ((x) => x * 2)(21) = 42 | |
62 ((x) { var z = x * 4; return z; })(21) = 84 | |
63 print("Hello $window") = Hello <window> | |
39 | 64 |
40 Running: testPrint | 65 Running: testPrint |
41 Script execution resumed. | 66 Script execution resumed. |
42 Debugger was disabled. | 67 Debugger was disabled. |
43 | 68 |
OLD | NEW |