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

Side by Side Diff: bin/main.cc

Issue 11094027: Add more options to the help message in verbose mode. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 "Supported options:\n" 525 "Supported options:\n"
526 "--checked \n" 526 "--checked \n"
527 " Insert runtime type checks and enable assertions (checked mode).\n" 527 " Insert runtime type checks and enable assertions (checked mode).\n"
528 "\n" 528 "\n"
529 "--help\n" 529 "--help\n"
530 " Display this message (add --verbose for information about all VM options).\n" 530 " Display this message (add --verbose for information about all VM options).\n"
531 "\n" 531 "\n"
532 "--package-root=<path>\n" 532 "--package-root=<path>\n"
533 " Where to find packages, that is, \"package:...\" imports.\n" 533 " Where to find packages, that is, \"package:...\" imports.\n"
534 "\n" 534 "\n"
535 "--debug[:<port number>]\n"
536 " enables debugging and listens on specified port for debugger connections\n"
537 " (default port number is 5858)\n"
538 "\n"
539 "--break_at=<location>\n"
540 " sets a breakpoint at specified location where <location> is one of :\n"
541 " url:<line_num> e.g. test.dart:10\n"
542 " [<class_name>.]<function_name> e.g. B.foo\n"
543 "\n"
544 "--use_script_snapshot=<file_name>\n"
545 " executes Dart script present in the specified snapshot file\n"
546 "\n"
535 "The following options are only used for VM development and may\n" 547 "The following options are only used for VM development and may\n"
536 "be changed in any future version:\n"); 548 "be changed in any future version:\n");
537 const char* print_flags = "--print_flags"; 549 const char* print_flags = "--print_flags";
538 Dart_SetVMFlags(1, &print_flags); 550 Dart_SetVMFlags(1, &print_flags);
539 } 551 }
540 } 552 }
541 553
542 554
543 static Dart_Handle SetBreakpoint(const char* breakpoint_at, 555 static Dart_Handle SetBreakpoint(const char* breakpoint_at,
544 Dart_Handle library) { 556 Dart_Handle library) {
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 Dart_ExitScope(); 746 Dart_ExitScope();
735 // Dump symbol information for the profiler. 747 // Dump symbol information for the profiler.
736 DumpPprofSymbolInfo(); 748 DumpPprofSymbolInfo();
737 // Shutdown the isolate. 749 // Shutdown the isolate.
738 Dart_ShutdownIsolate(); 750 Dart_ShutdownIsolate();
739 // Terminate process exit-code handler. 751 // Terminate process exit-code handler.
740 Process::TerminateExitCodeHandler(); 752 Process::TerminateExitCodeHandler();
741 753
742 return 0; 754 return 0;
743 } 755 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698