[#BloombergLP-bsls-Assert-failSleep] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Assert.adoc[Assert]::failSleep :relfileprefix: ../../../ :mrdocs: *DEPRECATED*: Use `failBySleep` instead. == Synopsis Declared in `<bsls_assert.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[noreturn]] static void failSleep( char const* comment, char const* file, int line); ---- == Description Use the specified expression `comment`, `file` name, and `line` number 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. == Return Value [NOTE] ==== This function https://en.cppreference.com/cpp/language/attributes/noreturn[does not return^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#