From 7aae02e411c267d8ee92fe1ed62c185347dc42a7 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 13 Feb 2019 14:11:54 -0500 Subject: [PATCH] Enable iterator debugging (_ITERATOR_DEBUG_LEVEL=2) for official cef_sandbox Debug builds (issue #2592) --- tools/gn_args.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/gn_args.py b/tools/gn_args.py index e6d0d77cf..a51b9c304 100644 --- a/tools/gn_args.py +++ b/tools/gn_args.py @@ -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,