Getting info about bad memory address in LLDB

前端 未结 4 1788
南笙
南笙 2021-01-30 04:37

I am trying to debug an EXC_BAD_ACCESS in my iPhone app. It is crashing on a method call and on the line of the method is EXC_BAD_ACCESS (code=1, address = xxx).

4条回答
  •  长发绾君心
    2021-01-30 05:20

    Maybe is too late but for further assistance, on LLDB:

    (lldb) p *(MyClassToPrint*)memory_address
    

    E.g.

    (lldb) p *(HomeViewController*)0x0a2bf700
    

提交回复
热议问题