Felsökning.Utilities.DebuggingUtilities 1.0.3

An assembly that contains several extension methods relevant to debugging.

Install-Package Felsökning.Utilities.DebuggingUtilities -Version 1.0.3
dotnet add package Felsökning.Utilities.DebuggingUtilities --version 1.0.3
<PackageReference Include="Felsökning.Utilities.DebuggingUtilities" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Felsökning.Utilities.DebuggingUtilities --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Extends the Process class to dump all of the frames from each thread in a (managed) process with carriage return characters (\r\n) for each line already contained within the string.

NOTE: To leverage ClrMD, your target architecture must match the architecture of the process being debugged.

Process process = Process.GetProcessById(22536);
if(process.DumpProcessThreads(out string threads))
{
    // Do something here with threads.
}

Extends the AggregateException object to unbox the inner exceptions and return a string array of:

string[] results = passedAggregateException.Unbox()
results[0] - hResults.
results[1] - Messages.
results[2] - StackTraces.

This primarily meant for logging purposes, such as Application Insights within Azure.

Extends the Process class to dump all of the frames from each thread in a (managed) process with carriage return characters (\r\n) for each line already contained within the string.

NOTE: To leverage ClrMD, your target architecture must match the architecture of the process being debugged.

Process process = Process.GetProcessById(22536);
if(process.DumpProcessThreads(out string threads))
{
    // Do something here with threads.
}

Extends the AggregateException object to unbox the inner exceptions and return a string array of:

string[] results = passedAggregateException.Unbox()
results[0] - hResults.
results[1] - Messages.
results[2] - StackTraces.

This primarily meant for logging purposes, such as Application Insights within Azure.

Release Notes

Added extension method to dump the threads from a process via ClrMD.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.3 59 7/8/2019