I  fixed this by recovering a copy of the proj file from a very close relative 
of the version I’m on - and I’m back to working breakpoints. 

Thanks for the suggestions everyone !




> On 8 Apr 2016, at 01:30, Kate Stone <k8st...@apple.com> wrote:
> 
> Given that none of the above resolved the problem, it might be helpful to see 
> more about what’s going on in the debugger.  Run your project under the 
> debugger with a single breakpoints of interest set in Xcode, pause it using 
> the Debug > Pause menu item and type “br list” at the LLDB prompt in Xcode’s 
> debug console.  You should see something like this:
> 
> (lldb) br list
> Current breakpoints:
> 1: file = 
> '/Volumes/Data/Work/Experiments/SimpleSwiftCocoa/SimpleSwiftCocoa/AppDelegate.swift',
>  line = 18, exact_match = 0, locations = 1, resolved = 1, hit count = 1
> 
>   1.1: where = 
> SimpleSwiftCocoa`SimpleSwiftCocoa.AppDelegate.applicationDidFinishLaunching 
> (__ObjC.NSNotification) -> () + 16 at AppDelegate.swift:19, address = 
> 0x0000000100000e20, resolved, hit count = 1 
> 
> … where your breakpoint shows up (eg: breakpoint 1 above) with file / line 
> information followed by breakpoints locations (eg: breakpoint 1.1 in this 
> example) where we found actual code that matches the file and line.  Please 
> reply with an example like the above and we’ll see if that doesn’t provide 
> more clues to what’s going on.
> 
> Kate Stone k8st...@apple.com <mailto:k8st...@apple.com>
>  Xcode Low Level Tools
> 
>> On Apr 7, 2016, at 2:23 PM, Peter Hudson <peter.hud...@me.com 
>> <mailto:peter.hud...@me.com>> wrote:
>> 
>> Thanks for all the suggestions guys, but I’m still unable to get my 
>> breakpoints going.
>> 
>> 
>> Jens:        
>> Did you accidentally click the “Deactivate breakpoints” button in the 
>> debugger console’s toolbar?    
>> (PH)  NO
>> 
>> 
>> Alex:
>> Peter, what happens if you create a brand new empty project with one screen 
>> and put a breakpoint in it when the first screen loads?
>> (PH) Tried this and breakpoints work fine
>> 
>> 
>> Charles:
>> Are those breakpoints located in your own code or library code? Breakpoints 
>> in dynamically loaded libraries can sometimes fail to resolve.
>> (PH)  The breakpoints are in my code.
>> 
>> 
>> Steve:
>> Are you talking about existing breakpoints, or even new ones added after you 
>> noticed the problem? Is the breakpoints setting still on (Debug->Deactivate 
>> Breakpoints vs. Debug->Activate Breakpoints)?
>> (PH) Tried switching breakpoints off and then back on - but they still don’t 
>> work.
>> 
>> 
>> Han Ming:
>> Also, are you running with the debugger? Sometimes people uncheck the 'Debug 
>> executable' option in the Scheme Editor and then forget about it. If you 
>> don't see your debug session in the Debug Navigator, you are not debugging.
>> (PH)  This is set to ‘Debug Executable’ as it should be.
>> 
>> 
>> 
>> So after a lot of fiddling I still can’t get breakpoints to work.
>> I’m kind of stumped here.
>> 
>> I’m beginning to wonder if rebuilding the project file is the only way…… UGH 
>> !
>> 
>> 
>> Peter
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list      (Xcode-users@lists.apple.com 
>> <mailto:Xcode-users@lists.apple.com>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/xcode-users/katherine_stone%40apple.com
>>  
>> <https://lists.apple.com/mailman/options/xcode-users/katherine_stone%40apple.com>
>> 
>> This email sent to katherine_st...@apple.com
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to