[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The namespace provides classes that allow you debug your applications.
The namespace provides classes that allow you to debug your application and to trace the execution of your code. For more information, see the System.Diagnostics.Debug class.
|ConditionalAttribute||Indicates to compilers that a method call or attribute should be ignored unless a specified conditional compilation symbol is defined.|
|Debug||Provides a set of methods and properties that help debug your code. This class cannot be inherited.|
|DebuggableAttribute||Modifies code generation for runtime just-in-time (JIT) debugging. This class cannot be inherited.|
|Debugger||Enables communication with a debugger. This class cannot be inherited.|
|DebuggerBrowsableAttribute||Determines if and how a member is displayed in the debugger variable windows. This class cannot be inherited.|
|DebuggerDisplayAttribute||Determines how a class or field is displayed in the debugger variable windows.|
|DebuggerHiddenAttribute||Hides the code from the debugger. This class cannot be inherited.|
|DebuggerNonUserCodeAttribute||Identifies a type or member that is not part of the user code for an application.|
|DebuggerStepThroughAttribute||Instructs the debugger to step through the code instead of into the code. This class cannot be inherited.|
|DebuggerTypeProxyAttribute||Specifies the display proxy for a type.|
|StackFrame||Provides information about a stack frame, which represents a function call on the call stack for the current thread.|
|StackTrace||Represents a stack trace, which is an ordered collection of one or more stack frames.|
|Stopwatch||Provides a set of methods and properties that you can use to accurately measure elapsed time.|