Click or drag to resize
System.Diagnostics Namespace
The System.Diagnostics namespaces contain types that enable you to interact with system processes, event logs, and performance counters. Child namespaces contain types to interact with code analysis tools, to support contracts, to extend design-time support for application monitoring and instrumentation, to log event data using the Event Tracing for Windows (ETW) tracing subsystem, to read to and write from event logs and collect performance data, and to read and write debug symbol information.
Classes
  ClassDescription
Public classDebug
Provides a set of methods and properties that help debug your code. This class cannot be inherited.
Public classStackFrame
Provides information about a StackFrame, which represents a function call on the call stack for the current thread.
Public classStackTrace
Represents a stack trace, which is an ordered collection of one or more stack frames.
Public classStopwatch
Provides a set of methods and properties that you can use to accurately measure elapsed time.