This question already has answers here:
xcode All-in-one layout: keyboard shortcut to switch between project and debug page?
(2 answers)
Closed 2 years ago.
When I run a program in the Simulator, the project window changes to the debug window automatically. This is what I want it to do. However, after running the simulation, I want to get back to the project window. I have to use my mouse to click on the tiny icon on the top left of the debug window in order to get to the project window again. Is there a faster way to do this, like maybe a keyboard shortcut, or a setting that can be changed so that the window automatically changes after the simulation finishes?
Download Xcode 4. It's much better: all in one window, no more window management hassles.
I use Command + W to close the frontmost window (unless it's my project window already).
Related
Is it possible to detach the console/log window in Xcode 6 to Xcode 9? If so, how do you detach it from the main console, into it's own window?
This question was previously asked for Xcode 4 but the answer doesn't work for Xcode 6 to Xcode 9 -
Stackoverflow - Same Question for Xcode 4
See the attached screenshot for illustration of the console/log view in question
Well, better late than never....
I found that I could maneuver and detach the console.
Add new tab.
Name the tab (eg Debugger).
In the new tab, expand the console so it fills the main window.
Right-click the new tab and select open in new window.
You'll have to quit Xcode and restart it to maintain the new window, rather than close projects or windows separately.
Apologize for the delay. Hope this is still useful..
UPDATE
This still works with Xcode 11.3!
To stop seperating the window : Xcode > Behaviors > Edit Behaviors
Then set as in the screenshot:
Solution without restarting Xcode. Thank #David DelMonte for illuminating me.
You can change Xcode behaviors configuration to open a new tab named Debugger in a separate window when project start running.
Then expand console view to full window in the debugger tab, Xcode will remember your reforms.
If I open Instruments and select a standard application (e.g. Mail or MS Word) it has no issue.
If I am in Xcode and I go to Product > Profile (or press Cmd + I), it launches Instruments, allows me to select a template, and loads the standard screen. Then the downward arrow starts tracing to the right as it should, and the iOS simulator launches the program. However, nothing is plotted in Instruments. It shows no changes to anything no matter what the app is doing. I can't click anything in Instruments: no menu's, can't stop recording, can't open tabs, etc.
I randomly discovered that if I hit Cmd + Tab, Instruments will start behaving normally. This seems really strange to me. Either it's a bug or it's a hole in my knowledge about how to operate Instruments.
Strange bug is fixed in XCode 4.2!
The problem was the hidden password dialog, so sometime it works and sometimes not.
One of possible solutions was:
Run Instruments
Cmd Tab to Xcode covering the instruments. Cycle and hide messages until password dialog is found.
Close Xcode.
PS: I know it is a few years to late for the answer, I was just looking for unanswered questions. Just check as answered - > it's good for both of us. )
We have a windows app, written several years ago and maintained over time. We do not have any specific code to handle any Windows 7 UI features. Just plain old Winforms and WPF. We are seeing issues with closing windows using the Taskbar's preview and close button.
On some workstations, when the window is re-opened (calling the same tool via a menu), it is empty (white/blank). On other workstations, the same window is drawn outside the screen.
While there might be some custom code to initialize the window and restore it in the right location, what is troubling us is that none of those issues exist if we close the window using the standard close button on the title bar or using a "close" command.
Does anybody have any idea what is different between the closing of a window using the Taskbar and the standard button?
Regards,
Eric.
Is it possible to detach the console/log window in Xcode 4?
Even better, how?
Go to Xcode preferences, and open the Behavior tab.
Tell Xcode to open a tab called "Debugger" when "Run Pauses" or "Run Starts". Then run it, and break that Debugging tab out into another window (drag it off the tab bar into its own window by just letting it drop outside the current window). Now reform it to your hearts content; it will stay that way. Also don't forget the little controls at the top right of the console window that slide the local variable display out of the way so you can have a full-width console on demand. I am not sure about keyboard shortcuts for that yet.
I usually keep the Debugging tab and one other tab in a separate window, for debugging tasks, and all my other editing tabs in a different window (and the debugging window on a separate monitor with the simulator). With the settings above it also means that, while editing a debugger reaching a breakpoint, it will not interrupt my editing by suddenly bringing forth the console.
Sure, create a new tab, drag it off the original window, and expand the debugger area to be the whole tab. Now, whether Xcode will remember that tab and its placement is another matter. File a bug with Apple to let them know your displeasure.
Taking jshier's advice a step further, you can do File -> New Window, and expand the debug window to take up the entire window. But you have to manually expand it every time you open it. Ugh.
In Xcode 3.2 the help/reference pops up in a new window when I ALT, CMD, DOUBLECLICK on a class name**. In previous versions it looks like it used to open up in the bottom pane of the main Xcode window. Can I replicate that in 3.2+?
The problem I'm having is that if either one of the Xcode windows (help or main) is maximised, it's easy to loose one window behind the other, and I seem unable to cycle through the individual Xcode windows (the normal window cycling doesn't work - both windows just show up as one item, 'Xcode').
I'd be happy to find out how to cycle through the Xcode windows or bring up the help window in the bottom pane, as it was in prior versions. Currently I'm using Expose to access the hidden window - which is okay, but not optimal.
Thanks.
** ALT & DOUBLE-CLICK now brings up QuickHelp in 3.2
Can you not simply type Command-~ (command tilde)? That works for me and is the common method of cycling between the windows of an application.
At least with XCode 4, but probably with 3 too, you can use Ctrl+Command+Arrows for navigating between tabs. The Up/Down buttons will switch between header files and source files and the Left/Right between opened windows/tabs.