Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32538

Expressions show `<no such value>` in lambda functions when using lldb

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • Qt Creator 15.0.0
    • Debugger
    • None
    • Linux/Wayland

    Description

      Variables or expressions in the Expressions view show `<no such value>` when stopped at a breakpoint inside a lambda expression using `lldb`. This does not happen when using `gdb`.

      However, the Locals view does display the values when using both debuggers.

      I see this with complex and simple projects. Please see the simple project I attached.

      gdb 15.0.50.20240403
      lldb 18.1.3

      Attachments

        1. gdb.jpg
          gdb.jpg
          82 kB
        2. lldb.jpg
          lldb.jpg
          84 kB
        3. Testing.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            pehg Pedro Hernandez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes