Skip to content

Commit db4ea29

Browse files
Document how to disable RuntimeMarshalManagedExceptionCapture (#14102)
Resolves getsentry/sentry-dotnet#4266
1 parent a1d85df commit db4ea29

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/platforms/dotnet/common/configuration/disable-integrations.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ options.DisableAppDomainUnhandledExceptionCapture()
2222

2323
Disables automatic capture of unhandled exceptions.
2424

25+
## DisableRuntimeMarshalManagedExceptionCapture
26+
27+
Disables automatic capture of unhandled exceptions on iOS.
28+
29+
The `AppDomainUnhandledException` handler does [not reliably capture unhandled exceptions on iOS](https://github.com/getsentry/sentry-dotnet/pull/3909). Instead, `Runtime.MarshalManagedException` is used to capture unhandled exceptions on iOS.
30+
2531
## DisableUnobservedTaskExceptionCapture
2632

2733
Disables automatic capture of Unobserved Task Exceptions.

0 commit comments

Comments
 (0)