Getting info about bad memory address in LLDB

前端 未结 4 1746
南笙
南笙 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:06

    you can use command like this in lldb:

    image lookup --address 0xec509b
    

    you can find more commands at:LLDB TO GDB COMMAND MAP

提交回复
热议问题