blob: 4c2f58b91d5cd438ce0809a86f1937fb97880536 [file] [log] [blame]
Tests Debugger.setBreakpointOnFunctionCall.
set breakpoint on function call
call function
paused
hitBreakpoints contains id: true
remove breakpoint
{
id : <messageId>
result : {
}
}
call function again
evaluate finished without pause
set breakpoint on function call
set breakpoint on same function call
{
error : {
code : -32000
message : Breakpoint at specified location already exists.
}
id : <messageId>
}
set breakpoint on function call with condition
call function, condition is false
evaluate finished without pause
call function, condition is true
paused
hitBreakpoints contains id: true
remove breakpoint
{
id : <messageId>
result : {
}
}
call function again
evaluate finished without pause