Not sure what that macro is, but there's a function called assert() that complains loudly when something's wrong.