开发者

how to know Value of pointer (xcode) without NSLog?

how to know Value of pointer (xcode) without NSLog?

that mean makeUrlforGetBusinessIDLocal is NSString *

I want to know the value of that. without NSLog

how can I know th开发者_JS百科at value? the value is http://isi............

if I do right click and choose edit value, I just can see "0x754cf40"

as we know "0x754cf40" is memory address. I don't want to know it, but the value of that memory address. how can I do that?

Can I do that without NSLog?


You may not be aware that you can type commands into the debugger console to inspect memory locations.

So, if the pointer you want to view is at address 0x754cf40, you would just type:

po [0x754cf40 description]

..into the console. The console is to the right of the variable panel you screen captured above.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜