parameters: (enum)
docstring: Returns the stopReason string given an enum.
docstring_summary: Returns the stopReason string given an enum.
docstring_tokens: Returns the stopReason string given an enum .
function: def stop_reason_to_str(enum):
      """Returns the stopReason string given an enum."""
      if enum == lldb.eStopReasonInvalid:
          return "invalid"
      elif enum == lldb.eStopReasonNone:
          return "none"
      elif enum == lldb.eStopReasonTrace:
          return "trace"
      elif enum == lldb.eStopReasonBreakpoint:
          return "breakpoint"
      elif enum == lldb.eStopReasonWatchpoint:
          return "watchpoint"
      elif enum == lldb.eStopReasonSignal:
          return "signal"
      elif enum == lldb.eStopReasonException:
          return "exception"
      elif enum == lldb.eStopReasonPlanComplete:
          return "plancomplete"
      else:
          raise Exception("Unknown StopReason enum")
function_tokens: def stop_reason_to_str ( enum ) : if enum == lldb . eStopReasonInvalid : return "invalid" elif enum == lldb . eStopReasonNone : return "none" elif enum == lldb . eStopReasonTrace : return "trace" elif enum == lldb . eStopReasonBreakpoint : return "breakpoint" elif enum == lldb . eStopReasonWatchpoint : return "watchpoint" elif enum == lldb . eStopReasonSignal : return "signal" elif enum == lldb . eStopReasonException : return "exception" elif enum == lldb . eStopReasonPlanComplete : return "plancomplete" else : raise Exception ( "Unknown StopReason enum" )