Where is the icon in the source code window for "continue to current line" in Xcode 5? - xcode

In XCode, before version 5, if you were in the source code windows debugging, you could place the cursor on the left side of the window just by where you enable/disable breakpoints and a small "Continue to current line" icon would appear.
If you clicked it, execution would advance to that line.
Now that I've upgraded to Xcode 5, it doesn't seem to be there anymore.
Has it been removed or is there another way (beside going to the Debug menu or doing a keyboard shortcut) to do this?

Found it. If you right-click just to the right of the line number you want to execute to, a small menu appears that includes the option to 'Continue to here'. Apparently the little icon is no more.

Related

Is there a way to use PyCharm on multiple monitors

I'm using PyCharm with multiple monitors on Mac OSX (10.10.5), normally you can drag windows off to a separate monitor. In PyCharm that works, but they (and in particular the Run window) snap back to the main monitor.
I've only seen this on the latest PyCharm 5 CE though its possible older versions also had the problem. I've searched all the settings and searched online, but can't find a setting that makes the window stay where it was placed.
Right click on the tab and select View Mode as Window.
Then you can move the window to another monitor.
It's crappy behaviour from the best python IDE out there.
There is a OSX solution but i'm not sure if you will like it:
You can enable old style multiple screen support again in OSX by going to System Preferences, Mission Control and uncheck "Displays have separate spaces". Now your floating windows will not snap back and you can even extend your PyCharm main window over the screens.
The downside of this solution is that you'll have the OSX dock and main menu only on your main monitor. I hope Jetbrains will fix this behaviour soon.
Another way to achieve what you want is to open multiple instances of the project. When you try to open the project for the second time you can choose "open project in new window". You can drag the new window to the second screen; it won't snap back to your primary monitor.
For Ubuntu and Windows users landing up here:
Press Shift + F4 or
Right-click and select 'Move Tab to New Window'
Drag the newly created window to the next screen
The best option is to detach an editor window and drag it to your second monitor.

How to get Xcode to show its startup screen again?

When I started Xcode I always got a screen that let me choose which project to open, or to start a new project, or a few other options. A few days ago I noticed it had a checkbox that was prechecked that said something like "Always show this screen on startup". Unfortunately, I unchecked it. I thought it would just reopen the last project I was editing but that's not what it does. Now Xcode just launches without opening any window at all so you have to go into its File menu, choose open, and find your project. I want to go back to the previous (default) behavior but I can't find any way to go back.
Does anyone know how to get that opening screen to show again? (It's not in preferences.)
From Xcode 4 and above versions, it's "Window" -> "Welcome to Xcode (⇧⌘1)".
On the older Xcode 3, it's "Help" -> "Welcome to Xcode".
If you want to see the window every time Xcode starts, please tick "Show this window when Xcode launches":
Beware that you need to hover over this window to see this checkbox.
Step 1
Start Xcode, go to the top navigation bar called Window, click on Welcome to Xcode it will show you the project screen:
Step 2
Look at the bottom of the welcome screen, there will be "show this window when Xcode launches", tick it:

How to prevent Xcode 3.2.5 to not show those blue message bubbles when debugging?

Every time I set a breakpoint, Xcode 3.2.5 throws in a big blue message bubble taking up two lines of code and disrupting my code structure. It is so annoying. I always have to click on the breakpoint and choose "Hide message bubble".
Is this a bug or can I do a preference somewhere to avoid them?
Yes I know there is Xcode 4. I want to use Xcode 3.2.5 for this project I am working on.
To do this, just open the Debugger window by pressing Command+Shift+Y.
Right click anywhere in the code window and go to Message Bubbles > Hide Breakpoints.
Image is attached. :)

Xcode 4 - detach the console/log window

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.

How to cycle through xcode windows (or open 'help' within the bottom pane)?

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.

Resources