Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: runtime/observatory/tests/service/step_over_await_test.dart

Issue 2523053002: Implement rewind: drop one or more frames from the debugger. (Closed)
Patch Set: code review Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // VMOptions=--error_on_bad_type --error_on_bad_override --verbose_debug --trac e_service 4 // VMOptions=--error_on_bad_type --error_on_bad_override --verbose_debug
5 5
6 import 'dart:async'; 6 import 'dart:async';
7 import 'dart:developer'; 7 import 'dart:developer';
8 8
9 import 'test_helper.dart'; 9 import 'test_helper.dart';
10 import 'service_test_common.dart'; 10 import 'service_test_common.dart';
11 11
12 import 'package:observatory/models.dart' as M; 12 import 'package:observatory/models.dart' as M;
13 import 'package:observatory/service_io.dart'; 13 import 'package:observatory/service_io.dart';
14 import 'package:unittest/unittest.dart'; 14 import 'package:unittest/unittest.dart';
(...skipping 22 matching lines...) Expand all
37 // Check that we are at the async statement 37 // Check that we are at the async statement
38 (Isolate isolate) async { 38 (Isolate isolate) async {
39 expect(M.isAtAsyncSuspension(isolate.pauseEvent), isTrue); 39 expect(M.isAtAsyncSuspension(isolate.pauseEvent), isTrue);
40 }, 40 },
41 asyncStepOver, 41 asyncStepOver,
42 stoppedAtLine(LINE_B), 42 stoppedAtLine(LINE_B),
43 resumeIsolate, 43 resumeIsolate,
44 ]; 44 ];
45 45
46 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); 46 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain);
OLDNEW
« no previous file with comments | « runtime/observatory/tests/service/set_vm_name_rpc_test.dart ('k') | runtime/observatory/tests/service/test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698