0b690227f8
This is a reland of 4363a69335
Original change's description:
> [inspector] fixed location of top level function return
>
> We should pass false as has_braces argument to create FunctionLiteral
> for top level function.
>
> R=dgozman@chromium.org,bmeurer@chromium.org
> TBR=bmeurer@chromium.org
>
> Bug: none
> Change-Id: I397f31b562d32c71f3a12bfc9ceeed16c367aa80
> Reviewed-on: https://chromium-review.googlesource.com/1098018
> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
> Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
> Reviewed-by: Yang Guo <yangguo@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#53769}
TBR=dgozman@chromium.org
Bug: v8:7858
Change-Id: Ie636bc101f9d29d9d40bd10b96e62da6505c2734
Reviewed-on: https://chromium-review.googlesource.com/1104497
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53808}
311 lines
6.1 KiB
Plaintext
311 lines
6.1 KiB
Plaintext
Stepping with natives and frameworks.
|
|
|
|
Running test: testNativeCodeStepOut
|
|
Debugger.pause called
|
|
#[1,2].map(v => v);
|
|
|
|
Debugger.stepInto called
|
|
[1,2].map(v => #v);
|
|
|
|
Debugger.stepOut called
|
|
[1,2].map(v => v);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testNativeCodeStepOver
|
|
Debugger.pause called
|
|
#[1,2].map(v => v);
|
|
|
|
Debugger.stepInto called
|
|
[1,2].map(v => #v);
|
|
|
|
Debugger.stepOver called
|
|
[1,2].map(v => v#);
|
|
|
|
Debugger.stepOver called
|
|
[1,2].map(v => #v);
|
|
|
|
Debugger.stepOver called
|
|
[1,2].map(v => v#);
|
|
|
|
Debugger.stepOver called
|
|
[1,2].map(v => v);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testNativeCodeStepInto
|
|
Debugger.pause called
|
|
#[1,2].map(v => v);
|
|
|
|
Debugger.stepInto called
|
|
[1,2].map(v => #v);
|
|
|
|
Debugger.stepInto called
|
|
[1,2].map(v => v#);
|
|
|
|
Debugger.stepInto called
|
|
[1,2].map(v => #v);
|
|
|
|
Debugger.stepInto called
|
|
[1,2].map(v => v#);
|
|
|
|
Debugger.stepInto called
|
|
[1,2].map(v => v);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkCodeStepInto
|
|
Debugger.pause called
|
|
#callAll(() => 1, () => 2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(() => #1, () => 2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(() => 1#, () => 2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(() => 1, () => #2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(() => 1, () => 2#);
|
|
|
|
Debugger.stepInto called
|
|
callAll(() => 1, () => 2);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkCodeStepOver
|
|
Debugger.pause called
|
|
#callAll(() => 1, () => 2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(() => #1, () => 2);
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1#, () => 2);
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1, () => #2);
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1, () => 2#);
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1, () => 2);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkCodeStepOut
|
|
Debugger.pause called
|
|
#callAll(() => 1, () => 2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(() => #1, () => 2);
|
|
|
|
Debugger.stepOut called
|
|
callAll(() => 1, () => #2);
|
|
|
|
Debugger.stepOut called
|
|
callAll(() => 1, () => 2);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkNextCallDeeperStepOut
|
|
Debugger.pause called
|
|
#callAll(() => 1, callAll.bind(null, () => 2));
|
|
|
|
Debugger.stepInto called
|
|
callAll(() => #1, callAll.bind(null, () => 2));
|
|
|
|
Debugger.stepOut called
|
|
callAll(() => 1, callAll.bind(null, () => #2));
|
|
|
|
Debugger.stepOut called
|
|
callAll(() => 1, callAll.bind(null, () => 2));#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkNextCallDeeperStepOutSameFunction
|
|
Debugger.pause called
|
|
#callAll(foo, callAll.bind(null, foo));
|
|
|
|
Debugger.stepInto called
|
|
foo = () => #1
|
|
|
|
Debugger.stepOut called
|
|
callAll(foo, callAll.bind(null, foo));#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkNextCallDeeperStepInto
|
|
Debugger.pause called
|
|
#callAll(() => 1, callAll.bind(null, () => 2));
|
|
|
|
Debugger.stepInto called
|
|
callAll(() => #1, callAll.bind(null, () => 2));
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1#, callAll.bind(null, () => 2));
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1, callAll.bind(null, () => #2));
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1, callAll.bind(null, () => 2#));
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1, callAll.bind(null, () => 2));#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkNextCallDeeperStepOver
|
|
Debugger.pause called
|
|
#callAll(() => 1, callAll.bind(null, () => 2));
|
|
|
|
Debugger.stepInto called
|
|
callAll(() => #1, callAll.bind(null, () => 2));
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1#, callAll.bind(null, () => 2));
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1, callAll.bind(null, () => #2));
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1, callAll.bind(null, () => 2#));
|
|
|
|
Debugger.stepOver called
|
|
callAll(() => 1, callAll.bind(null, () => 2));#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkCurrentCallDeeperStepOut
|
|
Debugger.pause called
|
|
#callAll(callAll.bind(null, () => 1), () => 2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(callAll.bind(null, () => #1), () => 2);
|
|
|
|
Debugger.stepOut called
|
|
callAll(callAll.bind(null, () => 1), () => #2);
|
|
|
|
Debugger.stepOut called
|
|
callAll(callAll.bind(null, () => 1), () => 2);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkCurrentCallDeeperStepOutSameFunction
|
|
Debugger.pause called
|
|
#callAll(callAll.bind(null, foo), foo);
|
|
|
|
Debugger.stepInto called
|
|
foo = () => #1
|
|
|
|
Debugger.stepOut called
|
|
callAll(callAll.bind(null, foo), foo);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkCurrentCallDeeperStepOver
|
|
Debugger.pause called
|
|
#callAll(callAll.bind(null, () => 1), () => 2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(callAll.bind(null, () => #1), () => 2);
|
|
|
|
Debugger.stepOver called
|
|
callAll(callAll.bind(null, () => 1#), () => 2);
|
|
|
|
Debugger.stepOver called
|
|
callAll(callAll.bind(null, () => 1), () => #2);
|
|
|
|
Debugger.stepOver called
|
|
callAll(callAll.bind(null, () => 1), () => 2#);
|
|
|
|
Debugger.stepOver called
|
|
callAll(callAll.bind(null, () => 1), () => 2);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkCurrentCallDeeperStepInto
|
|
Debugger.pause called
|
|
#callAll(callAll.bind(null, () => 1), () => 2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(callAll.bind(null, () => #1), () => 2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(callAll.bind(null, () => 1#), () => 2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(callAll.bind(null, () => 1), () => #2);
|
|
|
|
Debugger.stepInto called
|
|
callAll(callAll.bind(null, () => 1), () => 2#);
|
|
|
|
Debugger.stepInto called
|
|
callAll(callAll.bind(null, () => 1), () => 2);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkStepOverMixed
|
|
Debugger.pause called
|
|
#callAll(foo, foo, () => 2);
|
|
|
|
Debugger.stepInto called
|
|
foo = () => #1
|
|
|
|
Debugger.stepOver called
|
|
foo = () => 1#
|
|
|
|
Debugger.stepOver called
|
|
foo = () => #1
|
|
|
|
Debugger.stepOver called
|
|
foo = () => 1#
|
|
|
|
Debugger.stepOver called
|
|
callAll(foo, foo, () => #2);
|
|
|
|
Debugger.stepOver called
|
|
callAll(foo, foo, () => 2#);
|
|
|
|
Debugger.stepOver called
|
|
callAll(foo, foo, () => 2);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testFrameworkStepOutMixed
|
|
Debugger.pause called
|
|
#callAll(foo, foo, () => 2);
|
|
|
|
Debugger.stepInto called
|
|
foo = () => #1
|
|
|
|
Debugger.stepOut called
|
|
callAll(foo, foo, () => #2);
|
|
|
|
Debugger.stepOut called
|
|
callAll(foo, foo, () => 2);#
|
|
|
|
Debugger.resume called
|
|
|
|
Running test: testStepOutFrameworkSameFunctionAtReturn
|
|
Debugger.pause called
|
|
#callAll(foo, foo, () => 2);
|
|
|
|
Debugger.stepInto called
|
|
foo = () => #1
|
|
|
|
Debugger.stepOver called
|
|
foo = () => 1#
|
|
|
|
Debugger.stepOut called
|
|
callAll(foo, foo, () => #2);
|
|
|
|
Debugger.stepOut called
|
|
callAll(foo, foo, () => 2);#
|
|
|
|
Debugger.resume called
|