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}
72 lines
989 B
Plaintext
72 lines
989 B
Plaintext
Debugger breaks in next script after stepOut from previous one.
|
|
|
|
Running test: testStepOut
|
|
test (foo.js:12:2)
|
|
(anonymous) (:0:0)
|
|
|
|
(anonymous) (:0:6)
|
|
|
|
(anonymous) (timeout1.js:0:8)
|
|
|
|
foo (timeout2.js:2:2)
|
|
|
|
(anonymous) (timeout3.js:0:8)
|
|
|
|
|
|
Running test: testStepOver
|
|
(anonymous) (:0:0)
|
|
|
|
test (foo.js:12:2)
|
|
(anonymous) (:0:0)
|
|
|
|
test (foo.js:13:0)
|
|
(anonymous) (:0:0)
|
|
|
|
(anonymous) (:0:6)
|
|
|
|
(anonymous) (timeout1.js:0:8)
|
|
|
|
(anonymous) (timeout1.js:0:35)
|
|
|
|
foo (timeout2.js:2:2)
|
|
|
|
foo (timeout2.js:2:12)
|
|
|
|
(anonymous) (timeout3.js:0:8)
|
|
|
|
(anonymous) (timeout3.js:0:35)
|
|
|
|
|
|
Running test: testStepInto
|
|
(anonymous) (:0:0)
|
|
|
|
test (foo.js:9:2)
|
|
(anonymous) (:0:0)
|
|
|
|
test (foo.js:10:2)
|
|
(anonymous) (:0:0)
|
|
|
|
test (foo.js:11:2)
|
|
(anonymous) (:0:0)
|
|
|
|
test (foo.js:12:2)
|
|
(anonymous) (:0:0)
|
|
|
|
test (foo.js:13:0)
|
|
(anonymous) (:0:0)
|
|
|
|
(anonymous) (:0:6)
|
|
|
|
(anonymous) (timeout1.js:0:8)
|
|
|
|
(anonymous) (timeout1.js:0:35)
|
|
|
|
foo (timeout2.js:2:2)
|
|
|
|
foo (timeout2.js:2:12)
|
|
|
|
(anonymous) (timeout3.js:0:8)
|
|
|
|
(anonymous) (timeout3.js:0:35)
|
|
|