Reputation: 2459
For some reason, my OS X app crashes when using the time profiler but not otherwise. I'd like to see the stderr and stdout output from the program to try to diagnose what's wrong. Any ideas?
Upvotes: 4
Views: 1356
Reputation: 7496
As of Xcode 13 and 14, the process for viewing a command's output in Instruments has changed. You now need to add the "stdout/stderr" Instrument:
You can then click this instrument in the timeline to view the outputs:
Upvotes: 14
Reputation: 90681
Instruments has a console view. By default, that's where program output goes. (In the Choose Target sheet, you can change that.)
In the Detail area (the bottom half of the window, typically), there's a breadcrumb control along the top. You can use that to show the console view.
Upvotes: 4