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

Unified Diff: lib/src/runner/debugger.dart

Issue 1685363002: Add a platform plugin infrastructure. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/runner/browser/browser_manager.dart ('k') | lib/src/runner/environment.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/debugger.dart
diff --git a/lib/src/runner/debugger.dart b/lib/src/runner/debugger.dart
index 7c6e1b8a16ebd8707df1e9f42434d462e1c321bc..6e850c636d884a01b0e5d55b4ae2619812bd7426 100644
--- a/lib/src/runner/debugger.dart
+++ b/lib/src/runner/debugger.dart
@@ -6,7 +6,6 @@ import 'dart:async';
import 'package:async/async.dart';
-import '../backend/test_platform.dart';
import '../util/io.dart';
import '../utils.dart';
import 'configuration.dart';
@@ -110,7 +109,7 @@ class _Debugger {
/// suite to run.
Future _pause() async {
if (_suite.platform == null) return;
- if (_suite.platform == TestPlatform.vm) return;
+ if (!_suite.environment.supportsDebugging) return;
try {
_reporter.pause();
« no previous file with comments | « lib/src/runner/browser/browser_manager.dart ('k') | lib/src/runner/environment.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698