set-breakpoint-on-function-call-expected.txt 751 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
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