OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 DEFINE_bool(dump_counters, false, "Dump counters on exit") | 348 DEFINE_bool(dump_counters, false, "Dump counters on exit") |
349 DEFINE_bool(debugger, false, "Enable JavaScript debugger") | 349 DEFINE_bool(debugger, false, "Enable JavaScript debugger") |
350 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " | 350 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " |
351 "debugger agent in another process") | 351 "debugger agent in another process") |
352 DEFINE_bool(debugger_agent, false, "Enable debugger agent") | 352 DEFINE_bool(debugger_agent, false, "Enable debugger agent") |
353 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") | 353 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") |
354 DEFINE_string(map_counters, NULL, "Map counters to a file") | 354 DEFINE_string(map_counters, NULL, "Map counters to a file") |
355 DEFINE_args(js_arguments, JSArguments(), | 355 DEFINE_args(js_arguments, JSArguments(), |
356 "Pass all remaining arguments to the script. Alias for \"--\".") | 356 "Pass all remaining arguments to the script. Alias for \"--\".") |
357 | 357 |
| 358 #if defined(WEBOS__) |
| 359 DEFINE_bool(debug_compile_events, false, "Enable debugger compile events") |
| 360 DEFINE_bool(debug_script_collected_events, false, |
| 361 "Enable debugger script collected events") |
| 362 #else |
| 363 DEFINE_bool(debug_compile_events, true, "Enable debugger compile events") |
| 364 DEFINE_bool(debug_script_collected_events, true, |
| 365 "Enable debugger script collected events") |
| 366 #endif |
| 367 |
358 // | 368 // |
359 // Debug only flags | 369 // Debug only flags |
360 // | 370 // |
361 #undef FLAG | 371 #undef FLAG |
362 #ifdef DEBUG | 372 #ifdef DEBUG |
363 #define FLAG FLAG_FULL | 373 #define FLAG FLAG_FULL |
364 #else | 374 #else |
365 #define FLAG FLAG_READONLY | 375 #define FLAG FLAG_READONLY |
366 #endif | 376 #endif |
367 | 377 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 #undef FLAG | 526 #undef FLAG |
517 | 527 |
518 #undef DEFINE_bool | 528 #undef DEFINE_bool |
519 #undef DEFINE_int | 529 #undef DEFINE_int |
520 #undef DEFINE_string | 530 #undef DEFINE_string |
521 | 531 |
522 #undef FLAG_MODE_DECLARE | 532 #undef FLAG_MODE_DECLARE |
523 #undef FLAG_MODE_DEFINE | 533 #undef FLAG_MODE_DEFINE |
524 #undef FLAG_MODE_DEFINE_DEFAULTS | 534 #undef FLAG_MODE_DEFINE_DEFAULTS |
525 #undef FLAG_MODE_META | 535 #undef FLAG_MODE_META |
OLD | NEW |