System.Diagnostics.Debug
E697483
System.Diagnostics.Debug is a .NET class that provides methods for emitting debug information and assertions during application development and troubleshooting.
Statements (50)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
debugging utility ⓘ |
| assembly |
System.Diagnostics.Debug.dll
NERFINISHED
ⓘ
System.dll ⓘ |
| configurationControl | DEBUG conditional attribute ⓘ |
| defaultListener | System.Diagnostics.DefaultTraceListener NERFINISHED ⓘ |
| designTimeUsage | used during development ⓘ |
| framework |
.NET 5+
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| language | C# NERFINISHED ⓘ |
| method |
Assert(bool)
ⓘ
Assert(bool,string) ⓘ Assert(bool,string,string) ⓘ Close() ⓘ Fail(string) ⓘ Fail(string,string) ⓘ Flush() ⓘ Indent() ⓘ Unindent() ⓘ Write(object) ⓘ Write(string) ⓘ Write(string,string) ⓘ WriteIf(bool,string) ⓘ WriteLine(object) ⓘ WriteLine(string) ⓘ WriteLine(string,string) ⓘ WriteLineIf(bool,string) ⓘ |
| namespace | System.Diagnostics NERFINISHED ⓘ |
| outputTarget |
IDE output window
ⓘ
attached debugger ⓘ trace listeners ⓘ |
| platform |
Linux
ⓘ
Windows ⓘ macOS ⓘ |
| property |
AutoFlush
ⓘ
IndentLevel ⓘ IndentSize ⓘ Listeners ⓘ |
| purpose |
assist application troubleshooting
ⓘ
emit debug information ⓘ support assertions ⓘ |
| relatedClass |
System.Diagnostics.EventLog
NERFINISHED
ⓘ
System.Diagnostics.Trace NERFINISHED ⓘ System.Diagnostics.TraceSource NERFINISHED ⓘ |
| runtimeBehavior |
calls are included only in DEBUG builds by default
ⓘ
methods are conditionally compiled with DEBUG symbol ⓘ |
| staticType | true ⓘ |
| threadSafety | static members are thread-safe ⓘ |
| usesListenerType | System.Diagnostics.TraceListener NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.