setBlackboxedRanges method
Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
Positions array contains positions where blackbox state is changed. First interval isn't
blackboxed. Array should be sorted.
scriptId
Id of the script.
Implementation
Future<void> setBlackboxedRanges(
runtime.ScriptId scriptId, List<ScriptPosition> positions) async {
await _client.send('Debugger.setBlackboxedRanges', {
'scriptId': scriptId,
'positions': [...positions],
});
}