Wednesday, December 16, 2009

I was wrong

In my previous post, I described a problem that occurred in 'release' mode but not in 'debug' mode. These can be difficult problems to solve. (Frequently they are the result of optimizations made by the compiler.)

I was wrong.

The problem is not a defect in the code, or in the compiler. The problem was in my code, but occurred only when run with certain input data. My debugger tests don't run with that data, but the more comprehensive test suite (which runs in 'release' mode) does use it.

I identified and corrected the problem. And learned a lesson: don't assume that a problem is caused by someone else.


No comments:

Post a Comment