| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
| 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
| 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
| 8 // | 8 // |
| 9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
| 10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 | 653 |
| 654 | 654 |
| 655 // | 655 // |
| 656 // Dev shell flags | 656 // Dev shell flags |
| 657 // | 657 // |
| 658 | 658 |
| 659 DEFINE_bool(help, false, "Print usage message, including flags, on console") | 659 DEFINE_bool(help, false, "Print usage message, including flags, on console") |
| 660 DEFINE_bool(dump_counters, false, "Dump counters on exit") | 660 DEFINE_bool(dump_counters, false, "Dump counters on exit") |
| 661 | 661 |
| 662 DEFINE_bool(debugger, false, "Enable JavaScript debugger") | 662 DEFINE_bool(debugger, false, "Enable JavaScript debugger") |
| 663 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " | |
| 664 "debugger agent in another process") | |
| 665 DEFINE_bool(debugger_agent, false, "Enable debugger agent") | |
| 666 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") | |
| 667 | 663 |
| 668 DEFINE_string(map_counters, "", "Map counters to a file") | 664 DEFINE_string(map_counters, "", "Map counters to a file") |
| 669 DEFINE_args(js_arguments, | 665 DEFINE_args(js_arguments, |
| 670 "Pass all remaining arguments to the script. Alias for \"--\".") | 666 "Pass all remaining arguments to the script. Alias for \"--\".") |
| 671 | 667 |
| 672 // | 668 // |
| 673 // GDB JIT integration flags. | 669 // GDB JIT integration flags. |
| 674 // | 670 // |
| 675 | 671 |
| 676 DEFINE_bool(gdbjit, false, "enable GDBJIT interface (disables compacting GC)") | 672 DEFINE_bool(gdbjit, false, "enable GDBJIT interface (disables compacting GC)") |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 #undef DEFINE_ALIAS_float | 893 #undef DEFINE_ALIAS_float |
| 898 #undef DEFINE_ALIAS_args | 894 #undef DEFINE_ALIAS_args |
| 899 | 895 |
| 900 #undef FLAG_MODE_DECLARE | 896 #undef FLAG_MODE_DECLARE |
| 901 #undef FLAG_MODE_DEFINE | 897 #undef FLAG_MODE_DEFINE |
| 902 #undef FLAG_MODE_DEFINE_DEFAULTS | 898 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 903 #undef FLAG_MODE_META | 899 #undef FLAG_MODE_META |
| 904 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 900 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 905 | 901 |
| 906 #undef COMMA | 902 #undef COMMA |
| OLD | NEW |