Tests that evaluation in console that throws works fine when script is paused.
Set timer for test function.
Dumping console messages:
injectedFunction()
debugger-eval-while-paused-throws.js:53 Uncaught Error: injectedObj.func
at Object.func (debugger-eval-while-…sed-throws.js:53:15)
at injectedFunction (debugger-eval-while-…sed-throws.js:56:24)
at eval (eval at testFunction (inspected-page.html:29:11), <anonymous>:1:1)
at testFunction (test.js:29:11)
func @ debugger-eval-while-paused-throws.js:53
injectedFunction @ debugger-eval-while-paused-throws.js:56
eval @ VM:1
testFunction @ test.js:29
setTimeout
scheduleTestFunction @ VM:3
(anonymous) @ VM:1
localObj.func()
test.js:26 Uncaught Error: localObj.func
at Object.func (test.js:26:25)
at eval (eval at testFunction (inspected-page.html:29:11), <anonymous>:1:10)
at testFunction (test.js:29:11)
func @ test.js:26
eval @ VM:1
testFunction @ test.js:29
setTimeout
scheduleTestFunction @ VM:3
(anonymous) @ VM:1
globalObj.func()
test.js:17 Uncaught Error: globalObj.func
at Object.func (test.js:17:21)
at eval (eval at testFunction (inspected-page.html:29:11), <anonymous>:1:11)
at testFunction (test.js:29:11)
func @ test.js:17
eval @ VM:1
testFunction @ test.js:29
setTimeout
scheduleTestFunction @ VM:3
(anonymous) @ VM:1