How can I get Xcode 7 to keep around the logging o

2020-06-12 03:17发布

问题:

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:

回答1:

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:

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