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}
74 lines
1.0 KiB
Plaintext
74 lines
1.0 KiB
Plaintext
Checks Debugger.pause
|
|
|
|
Running test: testPause
|
|
paused at:
|
|
var a = #42;
|
|
|
|
|
|
Running test: testSkipFrameworks
|
|
paused at:
|
|
var a = #239;
|
|
|
|
|
|
Running test: testSkipOtherContext1
|
|
paused at:
|
|
var a = #1;
|
|
|
|
|
|
Running test: testSkipOtherContext2
|
|
paused at:
|
|
var a = #239;
|
|
|
|
paused at:
|
|
var a = 239;#
|
|
|
|
|
|
Running test: testWithNativeBreakpoint
|
|
paused at:
|
|
var a = #42;
|
|
|
|
paused at:
|
|
var a = #42;
|
|
|
|
paused at:
|
|
var a = #42;
|
|
|
|
|
|
Running test: testResumeAnotherGroup
|
|
paused at:
|
|
var a = #42;
|
|
|
|
{
|
|
error : {
|
|
code : -32000
|
|
message : Can only perform operation while paused.
|
|
}
|
|
id : <messageId>
|
|
}
|
|
{
|
|
error : {
|
|
code : -32000
|
|
message : Can only perform operation while paused.
|
|
}
|
|
id : <messageId>
|
|
}
|
|
{
|
|
error : {
|
|
code : -32000
|
|
message : Can only perform operation while paused.
|
|
}
|
|
id : <messageId>
|
|
}
|
|
{
|
|
error : {
|
|
code : -32000
|
|
message : Can only perform operation while paused.
|
|
}
|
|
id : <messageId>
|
|
}
|
|
|
|
Running test: testDisableBreaksShouldCancelPause
|
|
paused at:
|
|
#debugger
|
|
|