Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clear all breakpoints




On Oct 17, 2007, at 11:38 PM, Steve Checkoway wrote:

On Oct 17, 2007, at 7:37 AM, Laurence Harris wrote:

On Oct 16, 2007, at 3:24 PM, Chris Espinosa wrote:

On Oct 16, 2007, at 12:00 PM, R.L. Grigg wrote:

Is there a simple one-shot way (keyboard command, right mouse click, etc) to clear all breakpoints?
Xcode 2.4.1, OSX 10.4.10

Command-option-B, command-A, delete ?

Don't forget Command-W if you didn't have that window open before. Any plans to get it down from four steps to one Clear All Breakpoints command?

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.


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. ;-)


Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Clear all breakpoints (From: "R.L. Grigg" <email@hidden>)
 >Re: Clear all breakpoints (From: Chris Espinosa <email@hidden>)
 >Re: Clear all breakpoints (From: Laurence Harris <email@hidden>)
 >Re: Clear all breakpoints (From: Steve Checkoway <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.