pub unsafe extern "system" fn JsDiagSetBreakpoint(
scriptId: c_uint,
lineNumber: c_uint,
columnNumber: c_uint,
breakpoint: *mut JsValueRef
) -> JsErrorCode
Sets breakpoint in the specified script at give location.
Id of script from JsDiagGetScripts or JsDiagGetSource to put breakpoint.
0 based line number to put breakpoint.
0 based column number to put breakpoint.
Breakpoint object with id, line and column if success.
{
"breakpointId" : 1,
"line" : 2,
"column" : 4
}
The code JsNoError if the operation succeeded, a failure code otherwise.
The current runtime should be in debug state. This API can be called when runtime is at a break or running.