v8/test/inspector/runtime/evaluate-with-disable-breaks-expected.txt
Benedikt Meurer 7d0f593e8f [inspector] Add "disableBreaks" parameter to "Runtime.evaluate".
This new optional parameter controls whether "Runtime.evaluate" ignores
break points and previous "Debugger.pause" calls while evaluating the
expression. This will be used for live expressions, which should never
interfere with debugging.

Bug: chromium:1001216
Change-Id: Ie37f6616a4a1cae40399b79255ab92fb254d91b5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1826664
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64018}
2019-09-27 12:16:01 +00:00

73 lines
1.1 KiB
Plaintext

Tests that Runtime.evaluate can run with breaks disabled.
Test disableBreaks: false
paused
{
id : <messageId>
result : {
result : {
type : undefined
}
}
}
Test disableBreaks: true
{
id : <messageId>
result : {
result : {
type : undefined
}
}
}
Test calling out with disableBreaks: false
paused
{
id : <messageId>
result : {
result : {
type : undefined
}
}
}
Test calling out with disableBreaks: true
{
id : <messageId>
result : {
result : {
type : undefined
}
}
}
Test Debugger.pause with disableBreaks: false
{
id : <messageId>
result : {
}
}
paused
{
id : <messageId>
result : {
result : {
description : 1
type : number
value : 1
}
}
}
Test Debugger.pause with disableBreaks: true
{
id : <messageId>
result : {
}
}
{
id : <messageId>
result : {
result : {
description : 1
type : number
value : 1
}
}
}