Hey lldb team!

I'm trying to use `expr --top-level` from lldb in Xcode but it throws
errors like the following:

(lldb) expression --top-level -- NSString *str = @"This is a string";
Error [IRForTarget]: Couldn't replace an Objective-C constant string with a
dynamic string
error: cannot import unsupported AST node ObjCStringLiteral
error: The expression could not be prepared to run in the target


It seems like top-level only supports raw C code and not Objective-C. Is
there an option we can set to support this? Is there somewhere in lldb's
source code that could help point us to fixing this?

Thank you, you guys rule!

-- 

Rex Fenley  |  IOS DEVELOPER

Remind.com <https://www.remind.com/> |  BLOG <http://blog.remind.com/>
 |  FOLLOW
US <https://twitter.com/remindhq>  |  LIKE US
<https://www.facebook.com/remindhq>
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to