Re: [SOLVED] C++ method call being ignored
Re: [SOLVED] C++ method call being ignored
- Subject: Re: [SOLVED] C++ method call being ignored
- From: Rick Mann <email@hidden>
- Date: Sat, 13 Mar 2010 01:28:06 -0800
Huh. So, all the issues with the debugger went away when I fixed an error in my code. I was calling the following
CFNumberRef num = ::CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &inVendorID);
But inVendorID was of type uint16_t. Not sure why it just wouldn't have incorrect values in there. I changed the type parameter to kCFNumberSInt16Type, and it all started to work correctly.
On Mar 13, 2010, at 01:08:50, Rick Mann wrote:
> A little more investigation shows that the code is, in fact, being called. The debugger just doesn't want to step through it. I'm able to step into it in the assembly view, but if I show the source view, and try to step, it just runs.
>
> On Mar 13, 2010, at 00:53:10, Rick Mann wrote:
>
>> I'm experiencing some bizarre behavior. I've got a .cpp file with a C++ class in it, fairly straightforward stuff. But for some reason, it's simply ignoring a call to one of its own methods. The class doesn't inherit from anything, nor does it have any subclasses. The method being called is not virtual.
>>
>> Attempting to trace into it in the debugger results in execution resuming from that point.
>>
>> A similar class (I'm creating a new class based on an old one) doesn't have this problem. I'm completely puzzled. Any suggestions for figuring out what's going on?
>>
>> TIA,
>> Rick
>>
>> _______________________________________________
>> 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
_______________________________________________
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