| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 | 4 |
| 5 #include <stdlib.h> | 5 #include <stdlib.h> |
| 6 #include <string.h> | 6 #include <string.h> |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 | 8 |
| 9 #include "include/dart_api.h" | 9 #include "include/dart_api.h" |
| 10 #include "include/dart_debugger_api.h" | 10 #include "include/dart_debugger_api.h" |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 return false; | 339 return false; |
| 340 } | 340 } |
| 341 | 341 |
| 342 start_vm_service = true; | 342 start_vm_service = true; |
| 343 | 343 |
| 344 vm_options->AddArgument("--pause-isolates-on-exit"); | 344 vm_options->AddArgument("--pause-isolates-on-exit"); |
| 345 return true; | 345 return true; |
| 346 } | 346 } |
| 347 | 347 |
| 348 | 348 |
| 349 bool trace_debug_protocol = false; | 349 extern bool trace_debug_protocol; |
| 350 static bool ProcessTraceDebugProtocolOption(const char* arg, | 350 static bool ProcessTraceDebugProtocolOption(const char* arg, |
| 351 CommandLineOptions* vm_options) { | 351 CommandLineOptions* vm_options) { |
| 352 if (*arg != '\0') { | 352 if (*arg != '\0') { |
| 353 return false; | 353 return false; |
| 354 } | 354 } |
| 355 trace_debug_protocol = true; | 355 trace_debug_protocol = true; |
| 356 return true; | 356 return true; |
| 357 } | 357 } |
| 358 | 358 |
| 359 | 359 |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1112 exit(Process::GlobalExitCode()); | 1112 exit(Process::GlobalExitCode()); |
| 1113 } | 1113 } |
| 1114 | 1114 |
| 1115 } // namespace bin | 1115 } // namespace bin |
| 1116 } // namespace dart | 1116 } // namespace dart |
| 1117 | 1117 |
| 1118 int main(int argc, char** argv) { | 1118 int main(int argc, char** argv) { |
| 1119 dart::bin::main(argc, argv); | 1119 dart::bin::main(argc, argv); |
| 1120 UNREACHABLE(); | 1120 UNREACHABLE(); |
| 1121 } | 1121 } |
| OLD | NEW |