Set some breakpoints in a script
Define breakpoints in the script of an app by using the SetScriptBreakpoints method.
Example
The handle of the request is 1 because the SetScriptBreakpoints method applies at app level.
The client sends:
{
"jsonrpc": "2.0",
"id": 2,
"method": "SetScriptBreakpoints",
"handle": 1,
"params": [
[
{
"qbufferName": "BreakPoint1",
"qlineIx": 2,
"qEnabled": true
},
{
"qbufferName": "BreakPoint2",
"qlineIx": 6,
"qEnabled": false
}
]
]
}
The engine returns:
{
"jsonrpc": "2.0",
"id": 2,
"result": {}
}
The breakpoints are defined.