| Index: tools/ddbg.dart
|
| diff --git a/tools/ddbg.dart b/tools/ddbg.dart
|
| index 9b164ab7b48bdc90e563a590e8d64f008a0225e6..5c7acedaf278bf3018a154541452bb6b65cc220a 100644
|
| --- a/tools/ddbg.dart
|
| +++ b/tools/ddbg.dart
|
| @@ -626,12 +626,10 @@ void debuggerMain() {
|
| });
|
| }
|
|
|
| -void main() {
|
| - Options options = new Options();
|
| - List<String> arguments = options.arguments;
|
| +void main(List<String> arguments) {
|
| if (arguments.length > 0) {
|
| arguments = <String>['--debug', '--verbose_debug']..addAll(arguments);
|
| - Process.start(options.executable, arguments).then((Process process) {
|
| + Process.start(Platform.executable, arguments).then((Process process) {
|
| process.stdin.close();
|
| process.exitCode.then((int exitCode) {
|
| print('${arguments.join(" ")} exited with $exitCode');
|
|
|