class_docstr: Analyzer for debug data from dump directories.
class_docstr_tok: ["Analyzer","for","debug","data","from","dump","directories","."]
docstr: Render traceback of a node's creation in Python, if available.
  
  Args:
    node_name: (str) name of the node.
  
  Returns:
    A RichTextLines object containing the stack trace of the node's
    construction.
docstr_tok: ["Render","traceback","of","a","node","'s","creation","in","Python",",","if","available",".","Args",":","node_name",":","(","str",")","name","of","the","node",".","Returns",":","A","RichTextLines","object","containing","the","stack","trace","of","the","node's","construction","."]
code: def _render_node_traceback(self, node_name):
      """Render traceback of a node's creation in Python, if available.
  
      Args:
        node_name: (str) name of the node.
  
      Returns:
        A RichTextLines object containing the stack trace of the node's
        construction.
      """
  
      lines = [
          RL(""),
          RL(""),
          RL("Traceback of node construction:", "bold"),
      ]
  
      try:
          node_stack = self._debug_dump.node_traceback(node_name)
          for depth, (
              file_path,
              line,
              function_name,
              text,
          ) in enumerate(node_stack):
              lines.append("%d: %s" % (depth, file_path))
  
              attribute = (
                  debugger_cli_common.MenuItem(
                      "", "ps %s -b %d" % (file_path, line)
                  )
                  if text
                  else None
              )
              line_number_line = RL("  ")
              line_number_line += RL("Line:     %d" % line, attribute)
              lines.append(line_number_line)
  
              lines.append("  Function: %s" % function_name)
              lines.append(
                  "  Text:     " + (('"%s"' % text) if text else "None")
              )
              lines.append("")
      except KeyError:
          lines.append("(Node unavailable in the loaded Python graph)")
      except LookupError:
          lines.append(
              "(Unavailable because no Python graph has been loaded)"
          )
  
      return debugger_cli_common.rich_text_lines_from_rich_line_list(
          lines
      )
  
imports: import argparse
  import copy
  import re
  from tensorflow.python.debug.cli import cli_config
  from tensorflow.python.debug.cli import cli_shared
  from tensorflow.python.debug.cli import command_parser
  from tensorflow.python.debug.cli import debugger_cli_common
  from tensorflow.python.debug.cli import evaluator
  from tensorflow.python.debug.cli import ui_factory
  from tensorflow.python.debug.lib import debug_graphs
  from tensorflow.python.debug.lib import source_utils
label_desc: Use image node_id 12 for calling the DebugAnalyzer obj's underlying member method code with example usage: obj._render_node_traceback(node_name) and returns: debugger_cli_common