blob: 070947d3af9754252d85e76f7fb6f244e3b6cd30 [file]
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:test/test.dart';
import 'common/service_test_common.dart';
import 'step_lib.dart' as testee_lib;
void main([args = const <String>[]]) =>
IsolateTestHarness('step_lib.dart', args)
.hasPausedAtStart()
.markDartColonLibrariesDebuggable()
.setBreakpointAtLine('LINE_A')
.runStepIntoThroughProgramRecordingStops()
.validateRecordedStops((List<String> recordedStops) {
expect(recordedStops.length, greaterThan(20));
}).run(
testeeMain: testee_lib.main,
pauseOnStart: true,
pauseOnExit: true,
);