"Mo"

Tracepoints!!!

Published on

Tracepoints!!!

Authors

First thing - jfo’s coding is a great blog. I regularly find her posts very helpful and relevant to what I’m working on. If you’re not already reading her blog, you should check it out.

Second, as she says, tracepoints ARE awesome. I had used a few of the new breakpoint features in VS2005 such as Condition and Hit Count, but I seen the “When Hit…” option yet. All I can say is, you can say goodbye to Debug.WriteLine’ing (aka “the poor man’s debugger”*).

* If you’re unfamiliar with “the poor man’s debugger,” it is basically using output statements to determine values and flow of code. If used correctly, it can actually be very useful. It just isn’t fun to remove all of that code after you’re done debugging (particularly the Response.Write variety in webpages… ouch).