BugSplat 8.6.2
See the version list below for details.
dotnet add package BugSplat --version 8.6.2
NuGet\Install-Package BugSplat -Version 8.6.2
<PackageReference Include="BugSplat" Version="8.6.2" />
<PackageVersion Include="BugSplat" Version="8.6.2" />
<PackageReference Include="BugSplat" />
paket add BugSplat --version 8.6.2
#r "nuget: BugSplat, 8.6.2"
#:package BugSplat@8.6.2
#addin nuget:?package=BugSplat&version=8.6.2
#tool nuget:?package=BugSplat&version=8.6.2
BugSplat for .NET on Windows
Crash reporting for .NET 10 and .NET Framework 4.7.2+ apps on Windows, through the BugSplat native SDK. Crashes and handled exceptions are reported as minidumps, which BugSplat symbolicates from your uploaded symbols. Managed frames get file names and line numbers without you shipping PDBs.
Install
dotnet add package BugSplat
The package includes BugSplat's native runtime for x86, x64 and ARM64. At build time it copies
the set that matches your app's architecture next to the executable: BugSplat.dll,
BugSplatMonitor.exe, BugSplatRc.dll and BugSplatWer.dll, plus their PDBs. They must ship
with your app. The monitor is a separate process that writes and uploads the report after a
crash.
Use
using BugSplatDotNet;
var bugSplat = new BugSplat("YourDatabase", "YourApp", "1.0.0");
// Unhandled exceptions and native faults are now reported automatically.
try
{
DoWork();
}
catch (Exception ex)
{
// Call from inside the catch: the dump is taken at the throw site.
bugSplat.Post(ex);
}
Upload your app's .exe, .dll and .pdb files to BugSplat with
symbol-upload so reports show function names,
files and line numbers. Build with <DebugType>full</DebugType> (Windows PDBs).
Architecture
The native runtime must match the architecture your process runs as. It is chosen from, in order:
RuntimeIdentifier, for examplewin-arm64.PlatformTarget(x86,x64orARM64).- For .NET AnyCPU, the architecture of the .NET SDK doing the build. That is also what the
app's
.exeruns as. - For .NET Framework AnyCPU with
Prefer32Bit, x86. Otherwise x64.
To override the choice, set <BugSplatNativeArchitecture>x86|x64|arm64</BugSplatNativeArchitecture>.
The files are copied for executables and test projects. A library loaded by a native host
(a plugin, or a CLR hosted from C++) can set <BugSplatCopyNativeFiles>true</BugSplatCopyNativeFiles>.
The files must then be deployed next to the host's executable, because that is where
BugSplatMonitor.exe is looked for.
Run the app through its .exe. dotnet YourApp.dll makes dotnet.exe the process, and the
monitor won't be found next to it.
Learn more
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- No dependencies.
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.