Thursday, December 29, 2005

Tracepoint

Visual Studio 2005 is a combination of Christmas and Easter. It's Christmas because you receive so many new goodies. It's Easter because you keep finding Easter eggs.

The latest thing I found when I least expected it is Tracepoints. Open your favorite source file and put the mouse on a statement of interest and right-click. Choose Breakpoint and then on the cascading menu click Insert tracepoint. The resulting dialog box will explain your choices. But in brief you can automatically trace a huge ton of information every time that statement is executed. The default is perfect for tracing whenever a method is executed. You can turn a tracepoint into a breakpoint by unchecking the Continue execution box.

A note on huge tons. Nothing special, they're just the same as long tons, I think 2,240 pounds.

0 Comments:

Post a Comment

<< Home