Oakrey.Debug.Windows
2.0.0
dotnet add package Oakrey.Debug.Windows --version 2.0.0
NuGet\Install-Package Oakrey.Debug.Windows -Version 2.0.0
<PackageReference Include="Oakrey.Debug.Windows" Version="2.0.0" />
<PackageVersion Include="Oakrey.Debug.Windows" Version="2.0.0" />
<PackageReference Include="Oakrey.Debug.Windows" />
paket add Oakrey.Debug.Windows --version 2.0.0
#r "nuget: Oakrey.Debug.Windows, 2.0.0"
#:package Oakrey.Debug.Windows@2.0.0
#addin nuget:?package=Oakrey.Debug.Windows&version=2.0.0
#tool nuget:?package=Oakrey.Debug.Windows&version=2.0.0
Oakrey.Debug.Windows
Overview
The Debug.Windows project provides advanced debugging tools tailored for Windows applications. It includes utilities for monitoring system performance, detecting UI thread blocks, and working with Windows Event Logs.
Features
Windows Event Log Utilities:
- EventLogExtensions: Provides helper methods to filter and analyze event log entries (e.g., checking for errors or today's entries).
- EventLogMessage: Represents detailed information about an event log entry.
- EventLogs: Retrieves and processes event log entries, focusing on errors from specific sources.
Performance Monitoring:
- PerformanceMonitor: Tracks CPU and RAM usage of the current process and raises events with performance data.
UI Thread Block Detection:
- UIBlockDetector: Detects UI thread blocks and logs dispatcher queue length when the UI is unresponsive. It also provides thread stack traces for debugging.
Custom Event Arguments:
- PerformanceEventArgs: Encapsulates CPU and RAM usage data for performance monitoring events.
Installation
You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.
NuGet Package Manager
- Open your project in Visual Studio.
- Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
- Search for
Oakrey.Debug.Windows
and click Install.
.NET CLI
Run the following command in your terminal:
dotnet add package Oakrey.Debug.Windows
Package Manager Console
Run the following command in your Package Manager Console:
Install-Package Oakrey.Debug.Windows
Requirements
- .NET 8 or higher
Project Information
- Author: Oakrey
- Company: Oakrey
- License: MIT
- Repository: Git Repository
- Project URL: Project Website
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- Microsoft.Diagnostics.Runtime (>= 3.1.512801)
- System.Reactive (>= 6.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Oakrey.Debug.Windows:
Package | Downloads |
---|---|
Oakrey.Applications.Performance
A library for real-time CPU and RAM performance monitoring. Exposes usage data as IObservable streams, supports automatic logging, and integrates easily with dependency injection for modern .NET applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.