Go to the documentation of this file.
6 #define KTL_BREAKPOINT() __debugbreak()
7 #elif defined(__linux__)
9 #define KTL_BREAKPOINT() std::raise(SIGTRAP)
11 #define KTL_BREAKPOINT()
14 #ifdef KTL_DEBUG_ASSERT
15 #define KTL_ASSERT(x) if (!(x)) { KTL_BREAKPOINT(); }