?
, . , .
" " assert. , NDEBUG . Asserts , . , . , , . , , if .
, . : , . , , ...
Posix assert , abort. , , , , assert. " " . C/++. , , ( C/++).
Posix assert - , assert, SIGTRAP Linux DebugBreak Windows. ., , trap.h. Posix assert assert, , , , ( , ).
, , ISC BIND (DNS-, ) DoS ( , Posix assert). CVE BIND DoS. DoS'ing , " ".
Microsoft Foundation Classs (MFC) - 16 000 20 000 , . 1990- 2000- . , .
APIs
API-, " " . API-, .
( ) - Logging DebugPrint API. Apple FileVault. . os x filevault debug print.
( ) Windows IsBadReadPointer IsBadWritePointer. , . , .
, / ; , . , . .
, . Linux Microsoft CRT , API. .
, . Glib++ -D_GLIBCXX_DEBUG . - , define -D_GLIBCXX_CONCEPT_CHECKS. Boost , . .
, , - Release, NDEBUG define. Debian Ubuntu . NSA, GHCQ 3- , (, ), ( ), ( Windows, Apport Error ..).
, . , . Microsoft; . 0xCD, 0xDD .. malloc/free/new/delete? GCC , , - .
, DLL Microsoft bcause. , DLL Debug. , , DLL Release , . Adobe ( , Adobe , , Apple Microsoft).
#ifdef _DEBUG
check that error didn't occur...
SerialPrint("Error occurred")
#endif
, 2016 . GDB (?) Aarch64, X32 S/390, printf .