Friday, September 22, 2006

Debugger bites man

In this blog entry, Anson Horton holds his hands up as being (at least partially) responsible for a feature of the VS debugger that is at once invaluable and incredibly frustrating - Function Evaluation.

He also describes the problem very clearly, which is an effective reminder about not writing code that can self-substantiate unless that is essential.

Of course, when you're writing complex OO architectures, self-substantiation is a real temptation - but with this clear reminder, it should be easier to spot those occasions when self-substantiating objects have masked the fault condition.

Required reading.

No comments: