3 ms·
Some implementations have assert() call a function and trap inside that function. For example, glibc has assert() call __assert_fail(). That means that if you'r
by kps 4y ago
Some implementations have assert() call a function and trap inside that function. For example, glibc has assert() call __assert_fail(). That means that if you're looking at execution or a dump in a debugger, you're left at least one stack frame down from the actual failure.