Viewing NSData contents in Xcode

前端 未结 12 1980
我在风中等你
我在风中等你 2021-01-31 09:51

I am running Xcode and I would like to dump out a NSData*. The variable in question is buffer. Is there a way to do this through the UI or the GDB debugger?

12条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-31 10:41

    I think I have it now.

    Right click on NSData in the list displayed there, and click 'Show Memory Of "x"'.

提交回复
热议问题