2

Currently we are trying to log a url using a breakpoint in XCODE. It's printing out the log message and the memory address. We would like to log the actual URL and not the Memory address.

Question: What is the correct way to log a url in xcode using breakpoints?

SierraOscar
  • 17,507
  • 6
  • 40
  • 68
Puo
  • 133
  • 2
  • 9
  • possible duplicate of [XCode - Using NSLog for debugging](http://stackoverflow.com/questions/5486270/xcode-using-nslog-for-debugging) –  Aug 12 '13 at 20:46

1 Answers1

9

I think you mean something like:

NSLog( @"url is %@", [yourURL absoluteString]);
Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215