[lldb-dev] [Bug 18184] New: Cannot refer to a variable called 'id' from a print expression

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Dec 8 22:50:28 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18184

            Bug ID: 18184
           Summary: Cannot refer to a variable called 'id' from a print
                    expression
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: charlie at charliesomerville.com
    Classification: Unclassified

It seems like it's impossible to evaluate an expression containing a reference
to a variable called 'id' in LLDB:

    (lldb) print rb_id2str(id)
    error: unexpected type name 'id': expected expression
    error: 1 errors parsing expression

This might be because 'id' is a type in Objective-C. However since I'm using
LLDB on a C project, 'id' should be treated as a local variable reference.

lldb --version outputs 'lldb-300.2.53'.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131209/1ffd67d0/attachment.html>


More information about the lldb-dev mailing list