Skip to main content

Just My Code Debugging

While debugging, you may want to look at only the code you have written and ignore third-party code that is inside your application (such as framework and libraries). You can do this with Just My Code debugging, a feature that simplifies the debugging experience. Just My Code hides non-user code so that it does not appear in the debugger windows. When you step, the debugger steps through any non-user code but does not stop in it. This means, for example, that if you call a .NET Framework API that throws an exception, you're going to break in your code that called the API rather than farther down in the Framework. This becomes particularly useful when user and non-user code call back and forth between each other. You can set the “My Code” status on a per-function level to specify whether you want certain code debugged.

To view code that is hidden or to turn off Just My Code debugging, click Tools, click Options, open the Debugging node and select General, and then select the Enable Just My Code check box.

  • Better Web Publishing
    Publish and administer Web sites more easily with the powerful combination of ASP .NET 2.0 and Visual Studio 2005.
  • Clean Solution
    Now cleaning all those unwanted intermediate files out of your solution is a one-click operation.
  • Deployment Designer
    The Deployment Designer in Visual Studio 2005 Team Edition for Software Architects allows application designs to be validated for deployment within a particular datacenter, identifying possible issues before the deployment begins.
  • Load Testing - Results Repository
    Visual Studio 2005 Team Edition for Testers provides the ability to gather and store detailed information about how an application performs under different types of load.
  • Movie Collection Starter Kit
    Create a database program to organize your movie collection and learn about calling XML Web services in ASP .NET 2.0.