Index: tests/standalone/debugger/debug_lib.dart |
diff --git a/tests/standalone/debugger/debug_lib.dart b/tests/standalone/debugger/debug_lib.dart |
index a5f19ab153efdd97286a7bbbb3e63b54531f89ea..cee7c2f94334bbcddcd5ac7251bc5a43b51d7612 100644 |
--- a/tests/standalone/debugger/debug_lib.dart |
+++ b/tests/standalone/debugger/debug_lib.dart |
@@ -601,12 +601,11 @@ class Debugger { |
} |
-bool RunScript(List script) { |
- var options = new Options(); |
- if (options.arguments.contains("--debuggee")) { |
+bool RunScript(List script, List<String> arguments) { |
+ if (arguments.contains("--debuggee")) { |
return false; |
} |
- verboseWire = options.arguments.contains("--wire"); |
+ verboseWire = arguments.contains("--wire"); |
// Port number 0 means debug target picks a free port dynamically. |
var targetOpts = [ "--debug:0" ]; |