Bug ID 31267
Summary Can’t reference variable named ‘template’
Component All Bugs
In an Objective-C program, a local variable named 'template' is visible in the local variables list, but can't be referenced by command lines. For example, po template gives a cryptic error message rather than printing the value. I assume the problem may be related to the fact that 'template' is a reserved word in one of the other languages supported by lldb (C++), so this may be indicative of a more general problem of not being able to reference variables which have names that coincide with reserved words in other supported languages, but I have not verified this.