SQLEditor Cocoa B11a

Unfortunately there was a crashing bug in SQLEditor beta 11 and I had to release b11a.

It was one of these things were format strings caused the crash. I’d transposed two of the entries

[NSString stringWithFormat:@” %@ %d”,aDecimal,aString]

instead of

[NSString stringWithFormat:@” %@ %d”, aString, aDecimal]

and of course cocoa crashed, probably because it tried to send a message to the aDecimal variable.

It’s unfortunate that this can’t be detected at compile time, because it’s really annoying and very easy to do.

Possibly this could be caught in an exception handler of some kind though. I’ll have to do some more work on it.

This entry was posted in General, SQLEditor. Bookmark the permalink.

Leave a Reply