Add printf before failing assert