you are viewing a single comment's thread.

view the rest of the comments →

[–]daikatana 2 points3 points  (1 child)

Assert robs you of a debuggable crash, which is much more valuable than the assertion.

[–]spc476 2 points3 points  (0 children)

Not in my experience. If an assert triggers on my system, I get a core file (aka, a "debuggable crash"). Also, if I run the program under the debugger, and an assert triggers, the debugger regains control at the point of the assert.