开发者

Automatically select most recent log entry in Xcode 4

开发者 https://www.devze.com 2023-02-22 16:17 出处:网络
In Xcode 4, I have detached a new window and configured it to only show the logs via the Log navigator. I want it to display the log fo开发者_如何学Gor the current application launch.

In Xcode 4, I have detached a new window and configured it to only show the logs via the Log navigator. I want it to display the log fo开发者_如何学Gor the current application launch.

Each time I relaunch my application, I have to click on this window to select the most recent log. How can I tell Xcode to automatically do this for me?

The little clock button at the bottom of this window helps a bit by having only the most recent log entry displayed, but I still need to manually select it.

Automatically select most recent log entry in Xcode 4


Answering my own question:

  • Open a new window.
  • Select the Log Navigator (Command-7)
  • Hide the Navigator (Command-0)
  • Show the Debug Area (Shift-Command-Y)
  • Expand the Debug Area to use all frame of the window
  • Bonus: hide the toolbar (Main Menu > View > Hide Toolbar).

You now have a window with the logs of the current application launch.
Put it on your external display, and enjoy :)

Here is how it looks:

Automatically select most recent log entry in Xcode 4

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号