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

Side by Side Diff: src/flag-definitions.h

Issue 1513183003: [debugger] debug-evaluate should not not modify local values. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@arrowthis
Patch Set: addressed comments. Created 5 years 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
« no previous file with comments | « src/debug/debug-evaluate.cc ('k') | test/mjsunit/debug-evaluate-closure.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 590
591 // compilation-cache.cc 591 // compilation-cache.cc
592 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") 592 DEFINE_BOOL(compilation_cache, true, "enable compilation cache")
593 593
594 DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions") 594 DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions")
595 595
596 // cpu-profiler.cc 596 // cpu-profiler.cc
597 DEFINE_INT(cpu_profiler_sampling_interval, 1000, 597 DEFINE_INT(cpu_profiler_sampling_interval, 1000,
598 "CPU profiler sampling interval in microseconds") 598 "CPU profiler sampling interval in microseconds")
599 599
600 // debug.cc 600 // Array abuse tracing
601 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response")
602 DEFINE_BOOL(trace_js_array_abuse, false, 601 DEFINE_BOOL(trace_js_array_abuse, false,
603 "trace out-of-bounds accesses to JS arrays") 602 "trace out-of-bounds accesses to JS arrays")
604 DEFINE_BOOL(trace_external_array_abuse, false, 603 DEFINE_BOOL(trace_external_array_abuse, false,
605 "trace out-of-bounds-accesses to external arrays") 604 "trace out-of-bounds-accesses to external arrays")
606 DEFINE_BOOL(trace_array_abuse, false, 605 DEFINE_BOOL(trace_array_abuse, false,
607 "trace out-of-bounds accesses to all arrays") 606 "trace out-of-bounds accesses to all arrays")
608 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) 607 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse)
609 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) 608 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse)
609
610 // debugger
611 DEFINE_BOOL(debug_eval_readonly_locals, true,
612 "do not update locals after debug-evaluate")
613 DEFINE_BOOL(trace_debug_json, false, "trace debugging JSON request/response")
610 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") 614 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature")
611 DEFINE_BOOL(hard_abort, true, "abort by crashing") 615 DEFINE_BOOL(hard_abort, true, "abort by crashing")
612 616
613 // execution.cc 617 // execution.cc
614 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, 618 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB,
615 "default size of stack region v8 is allowed to use (in kBytes)") 619 "default size of stack region v8 is allowed to use (in kBytes)")
616 620
617 // frames.cc 621 // frames.cc
618 DEFINE_INT(max_stack_trace_source_length, 300, 622 DEFINE_INT(max_stack_trace_source_length, 300,
619 "maximum length of function source code printed in a stack trace.") 623 "maximum length of function source code printed in a stack trace.")
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 #undef DEFINE_ALIAS_FLOAT 1133 #undef DEFINE_ALIAS_FLOAT
1130 #undef DEFINE_ALIAS_ARGS 1134 #undef DEFINE_ALIAS_ARGS
1131 1135
1132 #undef FLAG_MODE_DECLARE 1136 #undef FLAG_MODE_DECLARE
1133 #undef FLAG_MODE_DEFINE 1137 #undef FLAG_MODE_DEFINE
1134 #undef FLAG_MODE_DEFINE_DEFAULTS 1138 #undef FLAG_MODE_DEFINE_DEFAULTS
1135 #undef FLAG_MODE_META 1139 #undef FLAG_MODE_META
1136 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1140 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1137 1141
1138 #undef COMMA 1142 #undef COMMA
OLDNEW
« no previous file with comments | « src/debug/debug-evaluate.cc ('k') | test/mjsunit/debug-evaluate-closure.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698