class_docstr: Class to output debugging information for cygdb
  
  It writes debug information to cython_debug/cython_debug_info_<modulename>
  in the build directory.
code: def __init__(self, output_dir):
      if etree is None:
          raise Errors.NoElementTreeInstalledException()
  
      self.output_dir = os.path.join(
          output_dir or os.curdir, "cython_debug"
      )
      self.tb = etree.TreeBuilder()
      # set by Cython.Compiler.ParseTreeTransforms.DebugTransform
      self.module_name = None
      self.start("cython_debug", attrs=dict(version="1.0"))
  
file_path: catboost/contrib/tools/cython/Cython/Debugger/DebugWriter.py
imports: from __future__ import absolute_import
  import os
  import sys
  import errno
  from ..Compiler import Errors
label_desc: Use image node_id 1 to create a new CythonDebugWriter object from inherited base classes: object with example: obj = CythonDebugWriter(output_dir)