A new feature in Visual Stuido 2010 is that Intellitrace.intellitrace was introduced to Visula Studio to speed up our right. NET application, it can quickly pass on the state of the program during execution and various kinds of information to help the developer to better debug the program and quickly discover the problem by tracking the preset events and methods and passing them to the debugging performer effectively. In fact, prior to Visual Studio 2010, Microsoft Visual Stuido had helped us to inherit the debugging tools, such as monitoring variables, viewing stacks, and so on, and allowing breakpoints to be set for Single-step debugging. All of this is good for developers to understand the state of the program in different execution and to detect whether it works according to the actual logic in advance, and more, we detect the problem by monitoring the program state after the breakpoint. The problem with this is that some logical errors can occur before the breakpoint is executed, and it is likely that some are untraceable. The developer must stop the current debugging, reset the breakpoint and start debugging, which often takes many times to find the correct location to set the breakpoint.
What data are collected by IntelliTrace?
So what did IntelliTrace bring to us? As the name suggests, it intelligently tracks and implements some of the debugging information and program status to developers, thereby reducing the need for programmers to find the right breakpoints to track and monitor the state of the program's operation. So what's the use of this information? What data did IntelliTrace collect? It depends on the type of data we notify the IntelliTrace and its control over its size, so that IntelliTrace collects part of the data in the way we expect it to, rather than all of the program state information in the immediate debugging process. Visual Studio provides us with two ways to control the content source for which it collects information, one IntelliTrace events only, collecting data about intelligent tracking events and debugging interrupts; the other is IntelliTrace events and Call information, which collects various data on the entry and exit of a method invocation except for the IntelliTrace event. Let's take a look at how to set trace options for IntelliTrace in Visual Studio 2010.
First we need to check that the IntelliTrace feature is open in Visual Stuido 2010. In Visual Studio 2010, select Tools | Options ... "Open Option dialog and select" IntelliTrace | General ". Make sure the Enable IntelliTrace is selected.
Figure 1:visual Studio IntelliTrace settings.