mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 11:36:57 +00:00

PR-URL: https://github.com/nodejs/node/pull/44741 Fixes: https://github.com/nodejs/node/issues/44650 Fixes: https://github.com/nodejs/node/issues/37472 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
92 lines
2.1 KiB
Plaintext
92 lines
2.1 KiB
Plaintext
Break on exceptions from compiler errors.
|
|
|
|
Running test: testUnexpectedEndOfInput
|
|
Runs '+++'
|
|
Runtime.evaluate exceptionDetails:
|
|
{
|
|
columnNumber : 3
|
|
exception : {
|
|
className : SyntaxError
|
|
description : SyntaxError: Unexpected end of input
|
|
objectId : <objectId>
|
|
subtype : error
|
|
type : object
|
|
}
|
|
exceptionId : <exceptionId>
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
text : Uncaught
|
|
}
|
|
|
|
Running test: testUnexpectedIdentifier
|
|
Runs 'x x'
|
|
Runtime.evaluate exceptionDetails:
|
|
{
|
|
columnNumber : 2
|
|
exception : {
|
|
className : SyntaxError
|
|
description : SyntaxError: Unexpected identifier 'x'
|
|
objectId : <objectId>
|
|
subtype : error
|
|
type : object
|
|
}
|
|
exceptionId : <exceptionId>
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
text : Uncaught
|
|
}
|
|
|
|
Running test: testEvalUnexpectedEndOfInput
|
|
Runs eval('+++')
|
|
paused on exception:
|
|
{
|
|
className : SyntaxError
|
|
description : SyntaxError: Unexpected end of input at <anonymous>:1:1
|
|
objectId : <objectId>
|
|
subtype : error
|
|
type : object
|
|
uncaught : false
|
|
}
|
|
Runtime.evaluate exceptionDetails:
|
|
{
|
|
columnNumber : 3
|
|
exception : {
|
|
className : SyntaxError
|
|
description : SyntaxError: Unexpected end of input at <anonymous>:1:1
|
|
objectId : <objectId>
|
|
subtype : error
|
|
type : object
|
|
}
|
|
exceptionId : <exceptionId>
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
text : Uncaught
|
|
}
|
|
|
|
Running test: testEvalUnexpectedIdentifier
|
|
Runs eval('x x')
|
|
paused on exception:
|
|
{
|
|
className : SyntaxError
|
|
description : SyntaxError: Unexpected identifier 'x' at <anonymous>:1:1
|
|
objectId : <objectId>
|
|
subtype : error
|
|
type : object
|
|
uncaught : false
|
|
}
|
|
Runtime.evaluate exceptionDetails:
|
|
{
|
|
columnNumber : 2
|
|
exception : {
|
|
className : SyntaxError
|
|
description : SyntaxError: Unexpected identifier 'x' at <anonymous>:1:1
|
|
objectId : <objectId>
|
|
subtype : error
|
|
type : object
|
|
}
|
|
exceptionId : <exceptionId>
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
text : Uncaught
|
|
}
|