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: How do I remove breakpoints?



This seems to be almost a bug more than it is a feature.  It is a two-edged
blade.  We have around 8 products that use two main frameworks.  Every once
and a while, I find myself updating the code for all of the 8 products (such
as say, UB for instance).  Now I find myself hitting odd and old breakpoints
and I cannot find any of them throughout the various project files.

Is there a way to see ALL breakpoints associated with a project?  If not,
there really should be.

Mark


On 3/28/06 5:48 PM, "Chris Espinosa" <email@hidden> wrote:

> On Mar 28, 2006, at 2:17 PM, Yves Poissant wrote:
> 
>> I'm stuck!
>> 
>> It seems that all the breakpoints that I've been setting since several
>> months are kept alive somehow and I can't remove or delete them.
>> 
>> When I open the Breakpoint list, I see all of them (29 breakpoints).
>> In the
>> past, I used to be able to right-click on one and select "delete"
>> and it
>> would disapear. But right now, whichever breakpoint I right-click, the
>> "delete" option is grayed so I can't delete them. It seems I can
>> disable
>> them by clicking on the breakpoint icon when the cursor is at the
>> breakpoint
>> line in the source code. But I cannot delete them.
>> 
>> That was not such a problem until right now.
>> 
>> I edited a source file where I removed a few lines in which there
>> was a
>> breakpoint. Now, everytime I try to debug the application, the
>> execution
>> stops with "Program received signal "SIGTRAP"" It breaks at a line
>> which is
>> not there anymore. And since this is a spot, in the application
>> where the
>> execution must pass continuously, the end result is that I cannot
>> debug that
>> application anymore.
>> 
>> I even opened my pbxuser file and removed all the breakpoint entries
>> that I
>> found there. When I open the project and open the breakpoint editor,
>> I see
>> no breakpoints anymore. However, xcode still breaks at the place
>> where there
>> used to be a breakpoint.
>> 
>> I've also entered the "delete" command in the dbg console but still
>> no go.
>> 
>> Anyone have any other suggestion?
>> 
>> Out of other options, I'm currently rebuilding all the associated
>> projects.
>> I'll see in about two hours if that worked.
> 
> If you have cross-project references ("subprojects"), it's possible
> that breakpoints in a source file that are recorded in a different
> project file than the one you think.  For example, if you have an app
> project and a shared library project, and you run the app and step
> into the shared library and set a breakpoint, you won't be able to
> delete that breakpoint from the shared library project, because it was
> set in the app project.
> 
> Try deleting the breakpoints when some other project is active.
> 
> Chris
>  _______________________________________________
> 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

 _______________________________________________
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: 
 >Re: How do I remove breakpoints? (From: Chris Espinosa <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.