Enable iterator debugging (_ITERATOR_DEBUG_LEVEL=2) for official cef_sandbox Debug builds (issue #2592)

This commit is contained in:
Marshall Greenblatt 2019-02-13 14:11:54 -05:00
parent 8bc348d615
commit 7aae02e411
1 changed files with 4 additions and 0 deletions

View File

@ -443,6 +443,10 @@ def GetConfigArgsSandbox(platform, args, is_debug, cpu):
'is_official_build': False
}
if is_debug:
# Enable iterator debugging (_ITERATOR_DEBUG_LEVEL=2).
add_args['enable_iterator_debugging'] = True
result = MergeDicts(args, add_args, {
'is_debug': is_debug,
'target_cpu': cpu,