Uploaded image for project: 'Swift'
  1. Swift
  2. SR-13103

lldb cannot evaluate optional date objects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Component/s: LLDB for Swift
    • Labels:
      None
    • Environment:

      Xcode 11.5

      Description

      Although we indeed have values on the date objects, lldb is failing to evaluate them and is always showing nil(left side).

      The `p` command docs state that it `Displays any returned value with LLDB's default formatting.` Which maybe be that date objects do not have a default formating withing lldb?

      But independently of that, this seems like a bug because we shouldn't see `nil` as the value. 

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lucianoalmeida1 Luciano Almeida
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: