Re: Clear all breakpoints
Re: Clear all breakpoints
- Subject: Re: Clear all breakpoints
- From: Laurence Harris <email@hidden>
- Date: Thu, 18 Oct 2007 17:32:57 -0400
On Oct 18, 2007, at 5:05 AM, Steve Checkoway wrote:
On Oct 18, 2007, at 12:30 AM, Laurence Harris wrote:
On Oct 17, 2007, at 11:38 PM, Steve Checkoway wrote:
Not that this is something I actually care about, but is there no
way to write a script that will do it and assign that a command?
To my way of thinking scripts are for performing actions that need
to be customized to your project, not to implement generic
features a lot of people could use. For the latter it's much less
work for one engineer at Apple to implement -- in this case -- a
fairly simple command than to have hundreds or thousands of Xcode
users writing scripts that all do the exact same thing. To the
extent scripts allow us to automate a customized sequence of
actions they're a real asset. To the extent they're used to
justify not implementing useful features they are a liability.
Personally, I'd rather Xcode be faster than have a single new
feature. I shouldn't get beach balls while editing text. This is
2007. People have been editing text for a damn long time now. This
should be a solved problem. (And it is. There are a plethora of
text editors with syntax highlighting that are far faster.) In the
time I'd save from this alone, I'd be more than happy to fly to
your place and delete your break points for you...almost.
As I understand it, this has been addressed in Xcode 3. (I'm only
repeating what I've heard, so I'm not violating any NDAs to say
that. ;-)
It just doesn't seem like an operation that would happen often
enough to spend time on it though.
It is for some people, especially if they're used to having the
command in CodeWarrior. In my experience it's easy to leave
breakpoints in my code when I'm debugging. Stop at a breakpoint,
step for a while, add another breakpoint without removing the
first, and so on. Eventually I track down the problem, but I have
a bunch of breakpoints scattered around in my code I want to
remove with a single command. Apparently I'm not the only one as
evidenced by the existence of this thread. ;-)
I suppose. I think I've opened the breakpoints window fewer than 10
times and probably only once intentionally. Clearly, you work
differently than I do in Xcode. I guess when I move on, the next
time I'm editing the file, I'll remove the breakpoint, or I'll
remove it when it triggers in the next debug session.
That's fine, and yes, different people work differently. IMO it's
better to have a command a significant number of people would use and
the rest could ignore than make a lot of people write a script to do
it. It's like having a Close All command in an application to close
all windows. A lot of people might never use it, but a lot would, and
the latter group shouldn't to write a script to do it.
Larry
_______________________________________________
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