| 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 |