Visual Studio 2010 provides a debugging feature called Just My Codeâ„¢ that allows programmers to test and debug only the portion of the code they have written. When this option is enabled, the debugger always steps over method calls to methods of classes that you did not write. All the IDE-generated code can be ignored.
To enable this option, in the Options dialog, select the Debugging category to view the available debugging tools and options. Then click the checkbox that appears next to the Enable Just My Code (Managed only) option to enable or disable this feature.