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 10: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?


You can disable them all in gdb using 'delete':

(gdb) info b
Num Type           Disp Enb Address    What
7   breakpoint     keep y   0x15ee89e1 in -...Device.m:29
(gdb) delete
(gdb) info b
No breakpoints or watchpoints.


Gdb deletes them all and XCode disables them all and keeps the markers in your code windows.


If you have some breakpoints you want preserved, I suppose you could create a custom gdb function that deletes all breakpoints then recreates the ones you want preserved.



_______________________________________________
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>)



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.