Index: test/inspector/debugger/get-possible-breakpoints-expected.txt |
diff --git a/test/inspector/debugger/get-possible-breakpoints-expected.txt b/test/inspector/debugger/get-possible-breakpoints-expected.txt |
index c685625de8e55d15a64787bd77cfb0a9c1985856..608abce218c8bc3bf493eed172ee133676f95b12 100644 |
--- a/test/inspector/debugger/get-possible-breakpoints-expected.txt |
+++ b/test/inspector/debugger/get-possible-breakpoints-expected.txt |
@@ -18,254 +18,1092 @@ |
id : <messageId> |
} |
Test end < start. |
-function foo(){ return Promise.resolve(); } |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ ] |
+ } |
+} |
Test empty range in first line. |
-function foo(){ return Promise.resolve(); } |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ ] |
+ } |
+} |
Test one character range in first line. |
-function foo(){ #return Promise.resolve(); } |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 16 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Test empty range in not first line. |
-function foo(){ return Promise.resolve(); } |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ ] |
+ } |
+} |
Test one character range in not first line. |
-function foo(){ return Promise.resolve(); } |
-function boo(){ #return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 16 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Test end is undefined |
-function foo(){ #return Promise.#resolve(); #} |
-function boo(){ #return Promise.#resolve().#then(() => #42#); #} |
-# |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 16 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 42 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 16 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 52 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [4] : { |
+ columnNumber : 54 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [5] : { |
+ columnNumber : 57 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [6] : { |
+ columnNumber : 0 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Test end.lineNumber > scripts.lineCount() |
-function foo(){ #return Promise.#resolve(); #} |
-function boo(){ #return Promise.#resolve().#then(() => #42#); #} |
-# |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 16 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 42 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 16 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 52 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [4] : { |
+ columnNumber : 54 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [5] : { |
+ columnNumber : 57 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [6] : { |
+ columnNumber : 0 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Test one string |
-function foo(){ #return Promise.#resolve(); #} |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 16 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 42 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Test end.columnNumber > end.line.length(), should be the same as previous. |
-function foo(){ #return Promise.#resolve(); #} |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 16 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 42 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Running test: getPossibleBreakpointsInArrow |
-function foo() { #return Promise.#resolve().#then(() => #239#).#then(() => #42#).#then(() => #() => #42#) #} |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 17 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 53 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 56 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 69 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [4] : { |
+ columnNumber : 71 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [5] : { |
+ columnNumber : 84 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [6] : { |
+ columnNumber : 90 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [7] : { |
+ columnNumber : 92 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [8] : { |
+ columnNumber : 94 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Running test: arrowFunctionFirstLine |
-function foo1() { #Promise.#resolve().#then(() => #42#) #} |
-function foo2() { Promise.resolve().then(() => 42) } |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 18 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 47 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 49 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 51 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 18 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 47 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 49 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 51 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
paused in foo1 |
-function foo1() { ^Promise.resolve().then(() => 42) } |
-function foo2() { Promise.resolve().then(() => 42) } |
+{ |
+ columnNumber : 18 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+} |
paused in foo1 |
-function foo1() { Promise.^resolve().then(() => 42) } |
-function foo2() { Promise.resolve().then(() => 42) } |
-paused in foo1 |
-function foo1() { Promise.resolve().^then(() => 42) } |
-function foo2() { Promise.resolve().then(() => 42) } |
-paused in foo1 |
-function foo1() { Promise.resolve().then(() => 42) ^} |
-function foo2() { Promise.resolve().then(() => 42) } |
+{ |
+ columnNumber : 51 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+} |
paused in Promise.resolve.then |
-function foo1() { Promise.resolve().then(() => ^42) } |
-function foo2() { Promise.resolve().then(() => 42) } |
+{ |
+ columnNumber : 47 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+} |
paused in Promise.resolve.then |
-function foo1() { Promise.resolve().then(() => 42^) } |
-function foo2() { Promise.resolve().then(() => 42) } |
+{ |
+ columnNumber : 49 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+} |
Running test: arrowFunctionOnPause |
-#debugger; function foo3() { #Promise.#resolve().#then(() => #42#) #} |
-function foo4() { #Promise.#resolve().#then(() => #42#) #}; |
-#foo3(); |
-#foo4()#; |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 0 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 28 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 57 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 59 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [4] : { |
+ columnNumber : 61 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [5] : { |
+ columnNumber : 18 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [6] : { |
+ columnNumber : 47 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [7] : { |
+ columnNumber : 49 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [8] : { |
+ columnNumber : 51 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [9] : { |
+ columnNumber : 0 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ [10] : { |
+ columnNumber : 0 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ [11] : { |
+ columnNumber : 6 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 0 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 28 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 57 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 59 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 61 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 18 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 47 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 49 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 51 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 0 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 0 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 6 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
paused in |
-debugger; function foo3() { Promise.resolve().then(() => 42) } |
-function foo4() { Promise.resolve().then(() => 42) }; |
-^foo3(); |
-foo4(); |
+{ |
+ columnNumber : 0 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+} |
paused in foo3 |
-debugger; function foo3() { ^Promise.resolve().then(() => 42) } |
-function foo4() { Promise.resolve().then(() => 42) }; |
-foo3(); |
-foo4(); |
+{ |
+ columnNumber : 28 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+} |
paused in foo3 |
-debugger; function foo3() { Promise.^resolve().then(() => 42) } |
-function foo4() { Promise.resolve().then(() => 42) }; |
-foo3(); |
-foo4(); |
-paused in foo3 |
-debugger; function foo3() { Promise.resolve().^then(() => 42) } |
-function foo4() { Promise.resolve().then(() => 42) }; |
-foo3(); |
-foo4(); |
-paused in foo3 |
-debugger; function foo3() { Promise.resolve().then(() => 42) ^} |
-function foo4() { Promise.resolve().then(() => 42) }; |
-foo3(); |
-foo4(); |
+{ |
+ columnNumber : 61 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+} |
paused in |
-debugger; function foo3() { Promise.resolve().then(() => 42) } |
-function foo4() { Promise.resolve().then(() => 42) }; |
-foo3(); |
-^foo4(); |
+{ |
+ columnNumber : 0 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+} |
paused in foo4 |
-debugger; function foo3() { Promise.resolve().then(() => 42) } |
-function foo4() { ^Promise.resolve().then(() => 42) }; |
-foo3(); |
-foo4(); |
+{ |
+ columnNumber : 18 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+} |
paused in foo4 |
-debugger; function foo3() { Promise.resolve().then(() => 42) } |
-function foo4() { Promise.^resolve().then(() => 42) }; |
-foo3(); |
-foo4(); |
-paused in foo4 |
-debugger; function foo3() { Promise.resolve().then(() => 42) } |
-function foo4() { Promise.resolve().^then(() => 42) }; |
-foo3(); |
-foo4(); |
-paused in foo4 |
-debugger; function foo3() { Promise.resolve().then(() => 42) } |
-function foo4() { Promise.resolve().then(() => 42) ^}; |
-foo3(); |
-foo4(); |
+{ |
+ columnNumber : 51 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+} |
paused in |
-debugger; function foo3() { Promise.resolve().then(() => 42) } |
-function foo4() { Promise.resolve().then(() => 42) }; |
-foo3(); |
-foo4()^; |
+{ |
+ columnNumber : 6 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+} |
paused in Promise.resolve.then |
-debugger; function foo3() { Promise.resolve().then(() => ^42) } |
-function foo4() { Promise.resolve().then(() => 42) }; |
-foo3(); |
-foo4(); |
+{ |
+ columnNumber : 57 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+} |
paused in Promise.resolve.then |
-debugger; function foo3() { Promise.resolve().then(() => 42^) } |
-function foo4() { Promise.resolve().then(() => 42) }; |
-foo3(); |
-foo4(); |
+{ |
+ columnNumber : 59 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+} |
paused in Promise.resolve.then |
-debugger; function foo3() { Promise.resolve().then(() => 42) } |
-function foo4() { Promise.resolve().then(() => ^42) }; |
-foo3(); |
-foo4(); |
+{ |
+ columnNumber : 47 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+} |
paused in Promise.resolve.then |
-debugger; function foo3() { Promise.resolve().then(() => 42) } |
-function foo4() { Promise.resolve().then(() => 42^) }; |
-foo3(); |
-foo4(); |
+{ |
+ columnNumber : 49 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+} |
Running test: getPossibleBreakpointsInRangeWithOffset |
Test empty range in first line. |
-function foo(){ return Promise.resolve(); } |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ ] |
+ } |
+} |
Test one character range in first line. |
-function foo(){ #return Promise.resolve(); } |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 17 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Test empty range in not first line. |
-function foo(){ return Promise.resolve(); } |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ ] |
+ } |
+} |
Test one character range in not first line. |
-function foo(){ return Promise.resolve(); } |
-function boo(){ #return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 16 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Test end is undefined |
-function foo(){ #return Promise.#resolve(); #} |
-function boo(){ #return Promise.#resolve().#then(() => #42#); #} |
-# |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 17 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 43 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 16 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 52 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ [4] : { |
+ columnNumber : 54 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ [5] : { |
+ columnNumber : 57 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ [6] : { |
+ columnNumber : 0 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Test end.lineNumber > scripts.lineCount() |
-function foo(){ #return Promise.#resolve(); #} |
-function boo(){ #return Promise.#resolve().#then(() => #42#); #} |
-# |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 17 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 43 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 16 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 52 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ [4] : { |
+ columnNumber : 54 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ [5] : { |
+ columnNumber : 57 |
+ lineNumber : 2 |
+ scriptId : <scriptId> |
+ } |
+ [6] : { |
+ columnNumber : 0 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Test one string |
-function foo(){ #return Promise.#resolve(); #} |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 17 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 43 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Test end.columnNumber > end.line.length(), should be the same as previous. |
-function foo(){ #return Promise.#resolve(); #} |
-function boo(){ return Promise.resolve().then(() => 42); } |
- |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 17 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 43 |
+ lineNumber : 1 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
Running test: withOffset |
-function foo5() { #Promise.#resolve().#then(() => #42#) #} |
-function foo6() { #Promise.#resolve().#then(() => #42#) #} |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 36 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 65 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 67 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 69 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ [4] : { |
+ columnNumber : 18 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+ } |
+ [5] : { |
+ columnNumber : 47 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+ } |
+ [6] : { |
+ columnNumber : 49 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+ } |
+ [7] : { |
+ columnNumber : 51 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 36 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 65 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 67 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 69 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 18 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 47 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 49 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ actualLocation : { |
+ columnNumber : 51 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+ } |
+ breakpointId : <breakpointId> |
+ } |
+} |
paused in foo5 |
-function foo5() { ^Promise.resolve().then(() => 42) } |
-function foo6() { Promise.resolve().then(() => 42) } |
+{ |
+ columnNumber : 36 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+} |
paused in foo5 |
-function foo5() { Promise.^resolve().then(() => 42) } |
-function foo6() { Promise.resolve().then(() => 42) } |
-paused in foo5 |
-function foo5() { Promise.resolve().^then(() => 42) } |
-function foo6() { Promise.resolve().then(() => 42) } |
-paused in foo5 |
-function foo5() { Promise.resolve().then(() => 42) ^} |
-function foo6() { Promise.resolve().then(() => 42) } |
+{ |
+ columnNumber : 69 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+} |
paused in foo6 |
-function foo5() { Promise.resolve().then(() => 42) } |
-function foo6() { ^Promise.resolve().then(() => 42) } |
+{ |
+ columnNumber : 18 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+} |
paused in foo6 |
-function foo5() { Promise.resolve().then(() => 42) } |
-function foo6() { Promise.^resolve().then(() => 42) } |
-paused in foo6 |
-function foo5() { Promise.resolve().then(() => 42) } |
-function foo6() { Promise.resolve().^then(() => 42) } |
-paused in foo6 |
-function foo5() { Promise.resolve().then(() => 42) } |
-function foo6() { Promise.resolve().then(() => 42) ^} |
+{ |
+ columnNumber : 51 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+} |
paused in Promise.resolve.then |
-function foo5() { Promise.resolve().then(() => ^42) } |
-function foo6() { Promise.resolve().then(() => 42) } |
+{ |
+ columnNumber : 65 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+} |
paused in Promise.resolve.then |
-function foo5() { Promise.resolve().then(() => 42^) } |
-function foo6() { Promise.resolve().then(() => 42) } |
+{ |
+ columnNumber : 67 |
+ lineNumber : 3 |
+ scriptId : <scriptId> |
+} |
paused in Promise.resolve.then |
-function foo5() { Promise.resolve().then(() => 42) } |
-function foo6() { Promise.resolve().then(() => ^42) } |
+{ |
+ columnNumber : 47 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+} |
paused in Promise.resolve.then |
-function foo5() { Promise.resolve().then(() => 42) } |
-function foo6() { Promise.resolve().then(() => 42^) } |
+{ |
+ columnNumber : 49 |
+ lineNumber : 4 |
+ scriptId : <scriptId> |
+} |
Running test: arrowFunctionReturn |
-#() => #239# |
- |
-function foo() { function boo() { #return 239 #} #}# |
- |
-#() => { #239 #}# |
- |
-function foo() { #239 #}# |
- |
-#() => #23#9# |
-#() => { #return 239 #} |
- |
-Running test: argumentsAsCalls |
-function foo(){#} |
-function boo(){#} |
-function main(f1,f2){#} |
-#main(#foo(), #boo());# |
- |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 0 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 6 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 9 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 34 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 45 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 48 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 49 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 0 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 8 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 12 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 13 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 17 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 21 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 22 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 0 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 6 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 8 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [3] : { |
+ columnNumber : 9 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |
+{ |
+ id : <messageId> |
+ result : { |
+ locations : [ |
+ [0] : { |
+ columnNumber : 0 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [1] : { |
+ columnNumber : 8 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ [2] : { |
+ columnNumber : 19 |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ } |
+ ] |
+ } |
+} |