Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get Xcode 7 to keep around the logging output from the UI Test target?

I've started using the UI Test features of Xcode 7, and when I run a test, I get the output from testing showing up in the content pane of the debugging area.

However, as soon as the testing is finished, that output gets replaced by the logging from the application itself.

Is there a way to keep both sets of logged data visible?

Adding an example, of what I want to see:

screenshot of Xcode showing where I want to see my messages to stdout/err

like image 254
Rob Fagen Avatar asked Oct 15 '15 22:10

Rob Fagen


1 Answers

Might not completely solve your issue: I was having a similar problem (and found your question!) and just found out that you can select which logging output is shown in the Debug Area:

enter image description here

Maybe, if you combine this with a cleverly inserted test breakpoint you might (partially) achieve what you were looking for ;-)

like image 68
Paulo Mattos Avatar answered Sep 28 '22 08:09

Paulo Mattos