Quantcast
Viewing all articles
Browse latest Browse all 40

Odd, persistent LLDB message about class methods

I regularly get this error when evaluating expressions in LLDB:

error: <EXPR>:4:20: class methods are only allowed within classes; use 'static' to declare a static method
  final class func $__lldb_user_expr_30(_ $__lldb_arg : UnsafeMutablePointer<Any>) {
        ~~~~~      ^
        static
warning: <EXPR>:11:7: initialization of variable '$__lldb_error_result' was never used; consider replacing with assignment to '_' or removing it
  var $__lldb_error_result = __lldb_tmp_error
  ~~~~^~~~~~~~~~~~~~~~~~~~
  _

I'm not even always calling a class method when it happens. What can I do to resolve this? It sometimes means I can't pursue a debugging lead at all because I just keep getting this message.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 40

Trending Articles