Re: GDB crashing
Re: GDB crashing
- Subject: Re: GDB crashing
- From: Philip Aker <email@hidden>
- Date: Sat, 14 Apr 2007 23:34:42 -0700
On 2007-04-14, at 21:13:41, Ed Martin wrote:
the actual line in my source code is the property >= kColFirst, the
crash happens when i click "Step Over" and the application goes to
this line
if (property >= kColFirst){
this is happening inside an Item-data callback for the DataBrowser
Just guessing -- we really need to see code -- but one thing to be
aware of with DataBrowser is that Apple reserves column values less
than 1024.
I believe that most Mac folks would naturally use a switch on
legitimate FourCharCode values in DB callbacks:
In header
enum {
kColFirst = 'Frst',
};
In callback:
switch( property ) {
case( kColFirst ): {
// do stuff
break;
}
Philip Aker
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