adsense728x90


xcode3, 4에서 swift debugging 불편해 죽겠네 iOS



(lldb) po aerror: <EXPR>:11:5: error: use of unresolved identifier '$__lldb_injected_self'    $__lldb_injected_self.$__lldb_wrapped_expr_2(         ^


(lldb) frame variable -L self

self = <variable not available>



Printable, DebugPrintable 출력도 잘 안되는 것 같고.

  • Printable
  • 1
    2
    3
    4
    5
    6
    /// This protocol should be adopted by types that wish to customize their
    /// textual representation.  This textual representation is used when objects
    /// are written to an `OutputStream`.
    protocol Printable {
        var description: String { get }
    }
  • DebugPrintable
  • 1
    2
    3
    4
    5
    6
    /// This protocol should be adopted by types that wish to customize their
    /// textual representation used for debugging purposes.  This textual
    /// representation is used when objects are written to an `OutputStream`.
    protocol DebugPrintable {
        var debugDescription: String { get }
    }


덧글

댓글 입력 영역