Rob Fagen
Rob Fagen

Reputation: 884

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

Upvotes: 12

Views: 1223

Answers (1)

Paulo Mattos
Paulo Mattos

Reputation: 19339

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 ;-)

Upvotes: 3

Related Questions