getPossibleBreakpoints

Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.


suspend fun getPossibleBreakpoints(start: Debugger.Location, end: Debugger.Location? = null, restrictToFunction: Boolean? = null): Debugger.GetPossibleBreakpointsReturn

Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.

Parameters

start

Start of range to search possible breakpoint locations in.

end

End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range.

restrictToFunction

Only consider locations which are in the same (non-nested) function as start.