def _GetPdbPath(target_dict, config_name, vars):
 config = target_dict['configurations'][config_name]
 msvs = config.setdefault('msvs_settings', {})
 linker = msvs.get('VCLinkerTool', {})
 pdb_path = linker.get('ProgramDatabaseFile')
 if pdb_path:
  return pdb_path
 variables = target_dict.get('variables', {})
 pdb_path = variables.get('msvs_large_pdb_path', None)
 if pdb_path:
  return pdb_path
 pdb_base = target_dict.get('product_name', target_dict['target_name'])
 pdb_base = ('%s.%s.pdb' % (pdb_base, TARGET_TYPE_EXT[target_dict['type']]))
 pdb_path = ((vars['PRODUCT_DIR'] + '/') + pdb_base)
 return pdb_path

def _GetPdbPath ( target_dict , config_name , vars ) : config = target_dict [ 'configurations' ] [ config_name ] msvs = config . setdefault ( 'msvs_settings' , { } ) linker = msvs . get ( 'VCLinkerTool' , { } ) pdb_path = linker . get ( 'ProgramDatabaseFile' ) if pdb_path : return pdb_path variables = target_dict . get ( 'variables' , { } ) pdb_path = variables . get ( 'msvs_large_pdb_path' , None ) if pdb_path : return pdb_path pdb_base = target_dict . get ( 'product_name' , target_dict [ 'target_name' ] ) pdb_base = ( '%s.%s.pdb' % ( pdb_base , TARGET_TYPE_EXT [ target_dict [ 'type' ] ] ) ) pdb_path = ( ( vars [ 'PRODUCT_DIR' ] + '/' ) + pdb_base ) return pdb_path
returns the path to the pdb file that will be generated by a given configuration .