OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 DEFINE_string(testing_serialization_file, "/tmp/serdes", | 219 DEFINE_string(testing_serialization_file, "/tmp/serdes", |
220 "file in which to serialize heap") | 220 "file in which to serialize heap") |
221 #endif | 221 #endif |
222 | 222 |
223 // | 223 // |
224 // Dev shell flags | 224 // Dev shell flags |
225 // | 225 // |
226 | 226 |
227 DEFINE_bool(help, false, "Print usage message, including flags, on console") | 227 DEFINE_bool(help, false, "Print usage message, including flags, on console") |
228 DEFINE_bool(dump_counters, false, "Dump counters on exit") | 228 DEFINE_bool(dump_counters, false, "Dump counters on exit") |
| 229 DEFINE_bool(debugger, true, "Enable JavaScript debugger") |
229 DEFINE_string(map_counters, false, "Map counters to a file") | 230 DEFINE_string(map_counters, false, "Map counters to a file") |
230 DEFINE_args(js_arguments, JSArguments(), | 231 DEFINE_args(js_arguments, JSArguments(), |
231 "Pass all remaining arguments to the script. Alias for \"--\".") | 232 "Pass all remaining arguments to the script. Alias for \"--\".") |
232 | 233 |
233 // | 234 // |
234 // Debug only flags | 235 // Debug only flags |
235 // | 236 // |
236 #undef FLAG | 237 #undef FLAG |
237 #ifdef DEBUG | 238 #ifdef DEBUG |
238 #define FLAG FLAG_FULL | 239 #define FLAG FLAG_FULL |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 #undef FLAG | 351 #undef FLAG |
351 | 352 |
352 #undef DEFINE_bool | 353 #undef DEFINE_bool |
353 #undef DEFINE_int | 354 #undef DEFINE_int |
354 #undef DEFINE_string | 355 #undef DEFINE_string |
355 | 356 |
356 #undef FLAG_MODE_DECLARE | 357 #undef FLAG_MODE_DECLARE |
357 #undef FLAG_MODE_DEFINE | 358 #undef FLAG_MODE_DEFINE |
358 #undef FLAG_MODE_DEFINE_DEFAULTS | 359 #undef FLAG_MODE_DEFINE_DEFAULTS |
359 #undef FLAG_MODE_META | 360 #undef FLAG_MODE_META |
OLD | NEW |