OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 DEFINE_string(testing_serialization_file, "/tmp/serdes", | 353 DEFINE_string(testing_serialization_file, "/tmp/serdes", |
354 "file in which to serialize heap") | 354 "file in which to serialize heap") |
355 #endif | 355 #endif |
356 | 356 |
357 // | 357 // |
358 // Dev shell flags | 358 // Dev shell flags |
359 // | 359 // |
360 | 360 |
361 DEFINE_bool(help, false, "Print usage message, including flags, on console") | 361 DEFINE_bool(help, false, "Print usage message, including flags, on console") |
362 DEFINE_bool(dump_counters, false, "Dump counters on exit") | 362 DEFINE_bool(dump_counters, false, "Dump counters on exit") |
| 363 |
| 364 #ifdef ENABLE_DEBUGGER_SUPPORT |
363 DEFINE_bool(debugger, false, "Enable JavaScript debugger") | 365 DEFINE_bool(debugger, false, "Enable JavaScript debugger") |
364 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " | 366 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " |
365 "debugger agent in another process") | 367 "debugger agent in another process") |
366 DEFINE_bool(debugger_agent, false, "Enable debugger agent") | 368 DEFINE_bool(debugger_agent, false, "Enable debugger agent") |
367 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") | 369 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") |
| 370 #endif // ENABLE_DEBUGGER_SUPPORT |
| 371 |
368 DEFINE_string(map_counters, "", "Map counters to a file") | 372 DEFINE_string(map_counters, "", "Map counters to a file") |
369 DEFINE_args(js_arguments, JSArguments(), | 373 DEFINE_args(js_arguments, JSArguments(), |
370 "Pass all remaining arguments to the script. Alias for \"--\".") | 374 "Pass all remaining arguments to the script. Alias for \"--\".") |
371 | 375 |
372 #if defined(WEBOS__) | 376 #if defined(WEBOS__) |
373 DEFINE_bool(debug_compile_events, false, "Enable debugger compile events") | 377 DEFINE_bool(debug_compile_events, false, "Enable debugger compile events") |
374 DEFINE_bool(debug_script_collected_events, false, | 378 DEFINE_bool(debug_script_collected_events, false, |
375 "Enable debugger script collected events") | 379 "Enable debugger script collected events") |
376 #else | 380 #else |
377 DEFINE_bool(debug_compile_events, true, "Enable debugger compile events") | 381 DEFINE_bool(debug_compile_events, true, "Enable debugger compile events") |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 #undef FLAG | 542 #undef FLAG |
539 | 543 |
540 #undef DEFINE_bool | 544 #undef DEFINE_bool |
541 #undef DEFINE_int | 545 #undef DEFINE_int |
542 #undef DEFINE_string | 546 #undef DEFINE_string |
543 | 547 |
544 #undef FLAG_MODE_DECLARE | 548 #undef FLAG_MODE_DECLARE |
545 #undef FLAG_MODE_DEFINE | 549 #undef FLAG_MODE_DEFINE |
546 #undef FLAG_MODE_DEFINE_DEFAULTS | 550 #undef FLAG_MODE_DEFINE_DEFAULTS |
547 #undef FLAG_MODE_META | 551 #undef FLAG_MODE_META |
OLD | NEW |