Click here to Skip to main content
15,886,689 members
Articles / Desktop Programming / ATL

Recursive Assertions Obscure The Real Problem with a Phantom Assertion

Rate me:
Please Sign up or sign in to vote.
3.90/5 (8 votes)
2 Jul 2008CPOL5 min read 27.5K   92   12  
Assertions are a very effective debugging tool for C/C++ code. But, a very subtle problem exists with assertions that can cause you to waste a lot of debugging time chasing the wrong problem.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions