System::Diagnostics Namespace Reference

Namespaces

 _StackFrame_private
 
 _StackTrace_private
 

Classes

struct  Debug
 Collection of debug methods allowing it sending debug information to registered listeners. All output functions work in Debug only. This is a static type with no instance services. You should never create instances of it by any means. More...
 
struct  Debugger
 Debugger interface. This is a static type with no instance services. You should never create instances of it by any means. More...
 
class  FileVersionInfo
 Provides information on file version. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  PerformanceCounter
 Dummy class for PerformanceCounter-using ported code to compile. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  Process
 Encapsulates process information and manipulation. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  ProcessStartInfo
 Describes process start parameters. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  StackFrame
 Gets information on single stack frame. MSVS only. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  StackTrace
 Collection of stack frames. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  Stopwatch
 Allows time measurement. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
struct  Trace
 Provides interface to access debugger trace (if any). Works in Debug mode only. This is a static type with no instance services. You should never create instances of it by any means. More...
 
class  TraceListener
 Interface to react to debug and trace infofmation. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 

Typedefs

typedef SharedPtr< StopwatchStopwatchPtr
 Pointer type. More...
 

Enumerations

enum  ProcessWindowStyle { ProcessWindowStyle::Normal, ProcessWindowStyle::Hidden, ProcessWindowStyle::Minimized, ProcessWindowStyle::Maximized }
 Style of process window. More...
 
enum  TraceEventType {
  TraceEventType::Critical = 1, TraceEventType::Error = 2, TraceEventType::Warning = 4, TraceEventType::Information = 8,
  TraceEventType::Verbose = 16, TraceEventType::Start = 256, TraceEventType::Stop = 512, TraceEventType::Suspend = 1024,
  TraceEventType::Resume = 2048, TraceEventType::Transfer = 4096
}
 Identifies the type of event that has caused the trace. More...
 
enum  TraceLevel {
  TraceLevel::Off = 0, TraceLevel::Error = 1, TraceLevel::Warning = 2, TraceLevel::Info = 3,
  TraceLevel::Verbose = 4
}
 Specifies what messages to output for the System.Diagnostics.Debug, System.Diagnostics.Trace and System.Diagnostics.TraceSwitch classes. More...
 

Typedef Documentation

◆ StopwatchPtr

Enumeration Type Documentation

◆ ProcessWindowStyle

Style of process window.

Enumerator
Normal 

Normal window.

Hidden 

Hidden window.

Minimized 

Minimized window.

Maximized 

Maximized window.

◆ TraceEventType

Identifies the type of event that has caused the trace.

Enumerator
Critical 

Fatal error or application crash.

Error 

Recoverable error.

Warning 

Noncritical problem.

Information 

Informational message.

Verbose 

Debugging trace.

Start 

Starting of a logical operation.

Stop 

Stopping of a logical operation.

Suspend 

Suspension of a logical operation.

Resume 

Resumption of a logical operation.

Transfer 

Changing of correlation identity.

◆ TraceLevel

Specifies what messages to output for the System.Diagnostics.Debug, System.Diagnostics.Trace and System.Diagnostics.TraceSwitch classes.

Enumerator
Off 

Output no tracing and debugging messages.

Error 

Output error-handling messages.

Warning 

Output warnings and error-handling messages.

Info 

Output informational messages, warnings, and error-handling messages.

Verbose 

Output all debugging and tracing messages.