Re: XCode Crashes and Hangs
Re: XCode Crashes and Hangs
- Subject: Re: XCode Crashes and Hangs
- From: Dave <email@hidden>
- Date: Sat, 18 Apr 2015 16:39:01 +0100
> On 17 Apr 2015, at 18:11, Alex Zavatone <email@hidden> wrote:
>
>
> On Apr 17, 2015, at 9:08 AM, Dave wrote:
>> Why? What possible concern is of theirs how we choose to view data? Tabs are useful for some things in some apps, but in XCode they suck.
>
> That's not the issue. The issue is trying to fix the thing you don't like.
True, see below.
>>> Create a new tab and double click on where the name of the window would be and call it Console.
>>
>>> In your Preferences, where you have Behaviours, click on the Debugging Starts item and check Display Window and select Console.
>>>
>>> Now, when you run your app and you hit a breakpoint, the Console tab will display. Turn off the animated view that you hate in that window.
>>>
>>> I'm expecting that it will never show again as long as that tab is displayed when you hit a breakpoint or condition where the debugger comes up.
>>>
>>> Let me know how it works.
>>
>> Will do, it’s a bit worrying that the stats window is interacting with the Target App or vice versa and causing crashes. I’m guessing you don’t see this if you are targeting iOS since you’ve either running your code under the simulator or on the device itself.
>
> I haven't seen the stats readout causing any crashes, but I'm running on Mac OS 10.10.2 in Xcode 6.2 on with 10 windows open (command ` is really easy to press) and one window is called console which I use for the debugger.
I think it depends what part of the code you are in when the breakpoint occurs. I’ve been debugging Views and View Controllers. When it happened, it was because I’d hit a breakpoint, then looked at some code in an editor window, set a breakpoint and hit run, because the editor window was front it opened the debug panel, it was a surprise because I was looking at a different monitor and when the panel opened and the stats started dancing, my natural reaction was to switch it off and close the panel, e.g make it an editor window again and switch to a Debugger window on a different screen. When you are debugging Views and View Controllers, you mostly want the views you are debugging not to be overlaid by any XCode windows as it causes redraws and messes up your breakpoints.
> If I turn it off in a window, it stays off in that window. Just tested this several times.
>
> Hope this solves your issue.
But I’m opening and closing windows all the time, and, because the multiple window support on XCode is lacking, it quite often opens a new window for a source file even if it’s already open.
What I’d really like is the following but I’m not sure of the best way to do it or if its possible.
I’m like one Window to always show the project files navigator - I position this on a monitor rotated into portrait orientation so I get a nice long list of files.
One Window that shows only the Log.
One Window that shows only the Debugger.
One Window that shows only Errors and Warnings.
One Window that is setup for a NIB, e.g. Utilities panel open on the right.
Whenever I open a file by double-clicking it in the Project Window list I want it to open as an editor window.
I’ve turned off all the Actions in the Behaviours Panel except to Beep or Purr when a build finishes and I’ve defined a number of Command Keys that turn the current window into a Debugger, or an Editor, which almost allow me to achieve what I want, but not quite. I’ve just made some changes in that I’d missed turning the action for Paused, which I believe is equivalent to a breakpoint, so hopefully it won’t open it again, unless I explicitly open the debug navigator in a window.
I’m not sure if using the Named Tab might get closer to what I want, but I don’t think so, because I don’t want it happen on the current window, and I don’t want it to open a separate window each time either.
Thanks a lot
All the Best
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden