Parameters
- filename
- Debug information will be written to this file.
Exception | Description |
---|---|
System.UnauthorizedAccessException | Thrown if file is not accessible. |
System.ArgumentException | Thrown if file does not have write access. |
System.InvalidOperationException | Thrown if debugging is already enabled. |
File must be accessible for writing.
Debug information is added to the file, file is not truncated if it exists.
Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6
SaneEnvironment Class
SaneEnvironment Members
IsDebuggingEnabled
DisableDebugging
Overload List