Source file links in xcode console output

Many developer environments have some basic parsing logic applied to the output of programs while debugging, so if the program writes to the console (as a result of an error, assert) something like:

/Users/Foo/Project/SomeFile.m:12 - SOMETHING READED HERE

the file path and line name are automatically detected as a source link, and you can click or double-click on the corresponding text inside the console window to force the source editor to go here.

I was trying to figure out if Xcode has something like this, but I had no luck. Is any such functionality missing in Xcode or am I just not finding the preferred text form it prefers?

thank

+3


source to share


1 answer


I just remembered "Open quickly ...". If you copy the text of the file name, use the "Open quickly ..." function (default Cmd-Shift-O), you can paste the file name and press "Enter" and it will display the file.



+1


source







All Articles