A trick exists that can display an error message along with an assertion. Normally, you would write code like this
void f(void *p)
{
assert(p != NULL);
/* more code */
}
If the assertion failed, an error message would resemble
Assertion failed: p != NULL, file main.c, line 5
Ho...