continueToLocation method

Future<void> continueToLocation(
  1. Location location, {
  2. @Enum(['any', 'current']) String? targetCallFrames,
})

Continues execution until specific location is reached. location Location to continue to.

Implementation

Future<void> continueToLocation(
  Location location, {
  @Enum(['any', 'current']) String? targetCallFrames,
}) async {
  assert(
    targetCallFrames == null ||
        const ['any', 'current'].contains(targetCallFrames),
  );
  await _client.send('Debugger.continueToLocation', {
    'location': location,
    if (targetCallFrames != null) 'targetCallFrames': targetCallFrames,
  });
}