I've had the macOS Mojave turned to dark mode and back a couple time. I'm seeing a weird bug where most of the time my breakpoint debugging no longer highlights the line currently being executed. I get a green bubble saying "Breakpoint" to the right, but the line itself is not highlighted.
How do I restore Xcode 10.2 not highlighting the lines stepped through while debugging with breakpoints?
Toggling between different stack trace levels at the "thread" restores highlighting when switching between levels, but within the same level, I lose highlighting as soon as I select anything else, and I don't get the highlighting restored when I click on the breakpoint within the same level.
I would expect to see a faint gray highlight to appear on the same line as the debug bubble (same as cursor at the bottom of the image).
I would expect to see every time I click on breakpoint
Related
After activating a debug session, the program started running. At this time, I tried to create a breakpoint. Unfortunately, it said "Unverified Breakpoint" and the color turned into dark black, different from the other pre-defined one (which was red). You can see more clearly on the image below. The debugger would never stop at the line of the breakpoint.
Did I miss any steps?
Often when I hit a breakpoint a second tab appears and focus moves to the line with a breakpoint in this tab. I already have a single tab which I'm focusing on. So the tab popping up is distracting and frustrating. I've searched for how to stop this behavior and looked through preferences/behaviors. In the Run section both Starts and Pauses have no checkmarks checked. I don't see anything checked in any of the other sections that would indicate this tab behavior should happen.
I'm using Xcode 6 (Version 6.1.1 (6A2008a)) and I find the dialog that usually pops up when you hover over a variable in Xcode (just before your breakpoint) incredibly useful.
However sometimes this dialog won't appear.
Is this a bug with Xcode or are there reasons why it sometimes won't appear?
I am using the same Xcode version.
Assuming:
You are not hovering on a property: self.myVar (does not work - not sure why!)
You are not hovering on a variable of an instance: cell.myImageView. Hover will only work for cell here.
You are not clicked in on the variable - happens by mistake sometimes with the trackpad.
I think it is bug with some peculiar behavior. It seems to happen when you open and close the Navigator or Utilities pane - which is common during debugging. Here is how I was able to replicate it:
Set a breakpoint
Run
Hover on a variable that works
Close and open Navigator or Utilities pane
Hover on that same variable - it will not work.
This seems to work once. In order to replicate it, you have to run again.
Having said that, if it is not working; if you hover above the variable sideways or up/down or, move away and come back to the variable, it usually will display the variable value.
But i agree, the erratic nature is annoying.
Hope this helps.
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 seems to be doing something annoying today.
I like editing my source code so that I'm typing roughly in the vertical center of my Xcode window. I don't like typing near the bottom or the top of the window as it hides code right before or right after the code I'm busy editing.
Lately, while editing an implementation file, Xcode has a habit of scrolling the text so that I'm editing close to the bottom of the window. This scrolling is triggered every time any code completion takes place.
Has anyone seen this before? If so, how can I turn it off or is it simply a bug?
You may be encountering a bug where one text view scrolls unexpectedly when a second window is open on the same file. Make sure that the file is not open in any other windows if this is what's happening.
I also noticed this in Xcode 5 and earlier. It appears that Apple has fixed this in Xcode 6. I am running Xcode 6.4 and no longer see the issue.