2017-08-01 11:36:44 -05:00
|
|
|
Tests Debugger.setScriptSource
|
2018-09-07 17:07:13 +02:00
|
|
|
TestExpression(2,4) === 6
|
|
|
|
Update current script source 'a + b' -> 'a * b'..
|
|
|
|
{
|
2022-09-21 13:28:42 +02:00
|
|
|
status : Ok
|
2018-09-07 17:07:13 +02:00
|
|
|
}
|
|
|
|
TestExpression(2,4) === 8
|
|
|
|
Update current script source 'a * b' -> 'a # b'..
|
|
|
|
{
|
|
|
|
exceptionDetails : {
|
|
|
|
columnNumber : 13
|
|
|
|
exceptionId : <exceptionId>
|
|
|
|
lineNumber : 1
|
|
|
|
text : Uncaught SyntaxError: Invalid or unexpected token
|
|
|
|
}
|
2022-09-21 13:28:42 +02:00
|
|
|
status : CompileError
|
2018-09-07 17:07:13 +02:00
|
|
|
}
|
|
|
|
TestExpression(2,4) === 8
|