Use the expression comment, file name, and line number from the specified violation to generate a helpful output message and then, after logging, spin in an infinite loop. Note that this handler function is useful for hanging a process so that a debugger may be attached to it.

Synopsis

Declared in <bsls_assert.h>

[[noreturn]]
static
void
failBySleep(AssertViolation const& violation);

Return Value

Note

This function does not return.

Created with MrDocs