v8/test/inspector/debugger/break-on-exception-expected.txt
Alexey Kozyatinskiy e404670696 [debug] removed most debugger js
Removed most of mirrors.js and debug.js.
Further steps:
- migrate liveedit.js to native,
- remove debugger context.

R=yangguo@chromium.org
TBR=leszeks@chromium.org

Bug: v8:5530
Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I291ef20ef3c63a424d32e3e0c9d0962a6ca382d1
Reviewed-on: https://chromium-review.googlesource.com/1081176
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53480}
2018-06-03 06:02:59 +00:00

159 lines
2.5 KiB
Plaintext

Tests for break on exception.
Running test: testPauseOnInitialState
evaluate 'caught()'..
evaluate 'uncaught()'..
evaluate 'uncaughtFinally()'..
evaluate 'caughtFinally()'..
Running test: testPauseOnExceptionOff
evaluate 'caught()'..
evaluate 'uncaught()'..
evaluate 'uncaughtFinally()'..
evaluate 'caughtFinally()'..
Running test: testBreakOnUncaughtException
evaluate 'caught()'..
evaluate 'uncaught()'..
paused on exception:
{
description : 1
type : number
uncaught : true
value : 1
}
evaluate 'uncaughtFinally()'..
paused on exception:
{
description : 1
type : number
uncaught : true
value : 1
}
evaluate 'caughtFinally()'..
paused on exception:
{
description : 1
type : number
uncaught : true
value : 1
}
Running test: testBreakOnAll
evaluate 'caught()'..
paused on exception:
{
description : 1
type : number
uncaught : false
value : 1
}
evaluate 'uncaught()'..
paused on exception:
{
description : 1
type : number
uncaught : true
value : 1
}
evaluate 'uncaughtFinally()'..
paused on exception:
{
description : 1
type : number
uncaught : true
value : 1
}
evaluate 'caughtFinally()'..
paused on exception:
{
description : 1
type : number
uncaught : true
value : 1
}
Running test: testTryFinallyOriginalMessage
evaluate '
try {
throw 1;
} finally {
}
'..
paused on exception:
{
description : 1
type : number
uncaught : true
value : 1
}
Running test: testPromiseRejectedByCallback
evaluate '
function fun() { eval("throw 'rejection';") }
var p = new Promise(function(res, rej) { fun(); res(); });
var r;
p.then(() => { r = 'resolved'; }, (e) => { r = 'rejected' + e; });
'..
paused on exception:
{
type : string
uncaught : true
value : rejection
}
r =
{
type : string
value : rejectedrejection
}
Running test: testBreakOnExceptionAfterReconnect
evaluate 'f()'..
paused on exception:
{
className : Error
description : Error at f (<anonymous>:106:144) at <anonymous>:137:154
objectId : <objectId>
subtype : error
type : object
uncaught : true
}
reconnect..
evaluate 'f()'..
paused on exception:
{
className : Error
description : Error at f (<anonymous>:106:144) at <anonymous>:137:154
objectId : <objectId>
subtype : error
type : object
uncaught : true
}
Running test: testBreakOnExceptionInSilentMode
evaluate 'caught()'
evaluate 'uncaught()'
evaluate 'uncaughtFinally()'
evaluate 'caughtFinally()'