System.Diagnostics Namespace
The System.Diagnostics namespace provides classes and enumerations you can use to interact with system processes, event logs, and performance counters.
Classes
Name | Description | |
---|---|---|
ConditionalAttribute | Indicates to compilers that a particular method is callable if a specified preprocessing identifier is applied to that method. | |
DebuggableAttribute | Modifies code generation for just-in-time (JIT) runtime debugging. | |
Debugger | Enables communication with a debugger. | |
DebuggerBrowsableAttribute | Specifies whether a particular section of code is browsable. | |
DebuggerDisplayAttribute | Controls what is displayed for a specific class or field in the debugger's data windows. | |
DebuggerHiddenAttribute | Specifies hidden attributes of the debugger. | |
DebuggerNonUserCodeAttribute | Implements an attribute that marks code as not being written by the developer who wrote the current application. | |
DebuggerStepperBoundaryAttribute | Immediately precedes code that is to be executed in run mode, as opposed to step mode. | |
DebuggerStepThroughAttribute | Enables the debugger to step through code line by line during the debugging process. | |
DebuggerTypeProxyAttribute | Specifies the display proxy for a particular type. |
Enumerations
Name | Description | |
---|---|---|
DebuggableAttribute.DebuggingModes | Specifies the debugging modes supported in the .NET Micro Framework. | |
DebuggerBrowsableState | Specifies the state of a node in the debugger. |
Remarks
Although the .NET Micro Framework supports many of the classes contained in the Diagnostics namespace, it also provides the Debug class for your debugging needs. The Debug class was created especially for the .NET Micro Framework, so you are strongly encouraged to use it instead of the classes in Diagnostics whenever you need to debug your .NET Micro Framework applications.