Re: Xcode 4 and LLDB problem
Re: Xcode 4 and LLDB problem
- Subject: Re: Xcode 4 and LLDB problem
- From: Jim Ingham <email@hidden>
- Date: Fri, 13 May 2011 18:04:20 -0700
Michael,
I haven't seen this. If you can reproduce this in some small project you wouldn't mind sending to us, then please file a bug with the project and steps to reproduce the problem.
Note, you can switch the debugger from gdb to LLDB in the Run Scheme (option-click on the Run button, select the Run scheme and then the Info tab in the sheet that brings up, and you'll see a pull-down for debugger...) If you switch to gdb do you have the same problem?
Jim
On May 13, 2011, at 10:49 AM, McLaughlin, Michael P. wrote:
> I’m new to Xcode 4 and even newer to LLVM 2 and LLDB but this problem using
> them still seems genuine. [Cocoa app targeting Snow Leopard.]
>
> In a standard AppController delegate, I bring up a dialog with an OK button
> then use it modally via a menu item:
>
> - (IBAction)doDlg:(id)sender
> {
> [NSApp runModalForWindow:mLabelDlg];
> }
>
> No problems to this point. In fact, no problems at all unless I enable the
> breakpoints in the AppController code. When I do, the modal dialog works as
> intended up until I hit the OK button which triggers an action in the
> AppController.
>
> - (IBAction)dlgOK:(id)sender
> {
> [NSApp stopModalWithCode:0];
> [mLabelDlg orderOut:self];
> ... // read two NSTextFields
>
> This action happens normally but almost immediately ( in DlgOK: ) I start to
> get error messages as follows:
>
> -[AppController count]: unrecognized selector sent to instance 0x2000a6580
> // sent to the AppController
>
> I get more of these for each step-over in the debugger (LLDB). To repeat,
> with the breakpoints off, I do not get this error. FWIW, if I copy the
> project and open it in Xcode 3.2.6, I do not get this error at all, even
> with breakpoints on.
>
> I have garbage-collection set to Supported but I do not have any
> retain/release statements. Also, unchecking “Release when closed” on the
> dialog (in IB) has no effect.
>
> Any tips as to what might be going on here?
>
> Thanks.
>
> --
> Mike McLaughlin
>
> _______________________________________________
> 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
_______________________________________________
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