parameters: (self)
docstring: The C# targets may create .mdb or .pdb files::
  
  		def build(bld):
  			bld(features='cs', source='My.cs', bintype='library', gen='my.dll', csdebug='full')
  			# csdebug is a value in [True, 'full', 'pdbonly']
docstring_summary: The C# targets may create .mdb or .pdb files::
docstring_tokens: The C# targets may create . mdb or . pdb files ::
function: def debug_cs(self):
  	"""
  	The C# targets may create .mdb or .pdb files::
  
  		def build(bld):
  			bld(features='cs', source='My.cs', bintype='library', gen='my.dll', csdebug='full')
  			# csdebug is a value in [True, 'full', 'pdbonly']
  	"""
  	csdebug = getattr(self, 'csdebug', self.env.CSDEBUG)
  	if not csdebug:
  		return
  
  	node = self.cs_task.outputs[0]
  	if self.env.CS_NAME == 'mono':
  		out = node.parent.find_or_declare(node.name + '.mdb')
  	else:
  		out = node.change_ext('.pdb')
  	self.cs_task.outputs.append(out)
  	try:
  		self.install_task.source.append(out)
  	except AttributeError:
  		pass
  
  	if csdebug == 'pdbonly':
  		val = ['/debug+', '/debug:pdbonly']
  	elif csdebug == 'full':
  		val = ['/debug+', '/debug:full']
  	else:
  		val = ['/debug-']
  	self.env.append_value('CSFLAGS', val)
function_tokens: def debug_cs ( self ) : csdebug = getattr ( self , 'csdebug' , self . env . CSDEBUG ) if not csdebug : return node = self . cs_task . outputs [ 0 ] if self . env . CS_NAME == 'mono' : out = node . parent . find_or_declare ( node . name + '.mdb' ) else : out = node . change_ext ( '.pdb' ) self . cs_task . outputs . append ( out ) try : self . install_task . source . append ( out ) except AttributeError : pass if csdebug == 'pdbonly' : val = [ '/debug+' , '/debug:pdbonly' ] elif csdebug == 'full' : val = [ '/debug+' , '/debug:full' ] else : val = [ '/debug-' ] self . env . append_value ( 'CSFLAGS' , val )