Skip to content

Oopsling 1.3.0

Latest

Choose a tag to compare

@hazeliscoding hazeliscoding released this 16 Nov 00:07
· 3 commits to main since this release

Native crashes on Windows now come back as reports too.

Try it

  1. dotnet add package Oopsling.Avalonia --version 1.3.0
  2. Keep CrashReports.Start and CrashReportWindow.ShowUnshown as they are: there's nothing new to call.
  3. Crash your app in native code on Windows and start it again: the window shows the crash.

What's in it

  • Native crashes: an access violation, a stack overflow or Environment.FailFast leaves no managed exception, so at the next launch Oopsling reads Windows' record of it from the Application log.
  • What the report holds: the exception code with its name, the faulting module's name, version, offset and masked path, the app's version, and the .NET runtime's stack when the runtime logged one.
  • Startup cost unchanged: the log is read only when the window asks for reports, newest first, in a few milliseconds.

Heads-up

  • Windows only. On macOS and Linux nothing changes.
  • An app run as dotnet app.dll gets no native crash reports, since Windows records them under dotnet.exe.
  • The first launch on 1.3 looks back 7 days, so it can show a native crash from before the update.
  • The reports folder now holds a looked file beside the reports.
  • A stack overflow, or a native crash in a NativeAOT build, has no method name: look the offset up in your build's symbols.