12.11.2014 16:57, Andrey Semashev wrote: > It's a common approach for injecting a message into the assertion > failure. The C runtime typically displays the condition that fails, > and in this case it will include the message. It helps debugging. We have pa_assert_not_reached just for that. It doesn't have a way to inject a custom message, but it does log a file and a line. -- Alexander E. Patrakov