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

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

Issue 2767873002: [inspector] added flag for injected-script-source debugging (Closed)
Patch Set: Created 3 years, 9 months 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
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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse) 846 DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse)
847 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse) 847 DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse)
848 848
849 // debugger 849 // debugger
850 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature") 850 DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature")
851 DEFINE_BOOL( 851 DEFINE_BOOL(
852 trace_side_effect_free_debug_evaluate, false, 852 trace_side_effect_free_debug_evaluate, false,
853 "print debug messages for side-effect-free debug-evaluate for testing") 853 "print debug messages for side-effect-free debug-evaluate for testing")
854 DEFINE_BOOL(hard_abort, true, "abort by crashing") 854 DEFINE_BOOL(hard_abort, true, "abort by crashing")
855 855
856 // inspector
857 DEFINE_BOOL(compile_inspector_scripts_as_user, false,
Yang 2017/03/22 11:00:01 Can we call this expose_inspector_scripts instead?
kozy 2017/03/22 17:08:49 Done.
858 "compile injected-script-source.js as user script for debugging")
859
856 // execution.cc 860 // execution.cc
857 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB, 861 DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB,
858 "default size of stack region v8 is allowed to use (in kBytes)") 862 "default size of stack region v8 is allowed to use (in kBytes)")
859 863
860 // frames.cc 864 // frames.cc
861 DEFINE_INT(max_stack_trace_source_length, 300, 865 DEFINE_INT(max_stack_trace_source_length, 300,
862 "maximum length of function source code printed in a stack trace.") 866 "maximum length of function source code printed in a stack trace.")
863 867
864 // full-codegen.cc 868 // full-codegen.cc
865 DEFINE_BOOL(always_inline_smi_code, false, 869 DEFINE_BOOL(always_inline_smi_code, false,
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 #undef DEFINE_ALIAS_FLOAT 1337 #undef DEFINE_ALIAS_FLOAT
1334 #undef DEFINE_ALIAS_ARGS 1338 #undef DEFINE_ALIAS_ARGS
1335 1339
1336 #undef FLAG_MODE_DECLARE 1340 #undef FLAG_MODE_DECLARE
1337 #undef FLAG_MODE_DEFINE 1341 #undef FLAG_MODE_DEFINE
1338 #undef FLAG_MODE_DEFINE_DEFAULTS 1342 #undef FLAG_MODE_DEFINE_DEFAULTS
1339 #undef FLAG_MODE_META 1343 #undef FLAG_MODE_META
1340 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1344 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1341 1345
1342 #undef COMMA 1346 #undef COMMA
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698