Skip to content

Document that dump collection isn't supported on mobile platforms#51765

Open
steveisok wants to merge 1 commit intodotnet:mainfrom
steveisok:droid-dump-nosupport
Open

Document that dump collection isn't supported on mobile platforms#51765
steveisok wants to merge 1 commit intodotnet:mainfrom
steveisok:droid-dump-nosupport

Conversation

@steveisok
Copy link
Member

@steveisok steveisok commented Feb 18, 2026

Summary

Add notes to dumps.md, collect-dumps-crash.md, and a new FAQ entry stating that dump collection isn't supported on Android and iOS because the Mono runtime doesn't support memory dump generation.

Fixes dotnet/diagnostics#5098


Internal previews

📄 File 🔗 Preview link
docs/core/diagnostics/collect-dumps-crash.md Collect dumps on crash
docs/core/diagnostics/dumps.md Dumps - .NET
docs/core/diagnostics/faq-dumps.yml FAQ for dumps

Add notes to dumps.md, collect-dumps-crash.md, and a new FAQ entry
stating that dump collection isn't supported on Android and iOS because
the Mono runtime doesn't support memory dump generation.

Fixes dotnet/diagnostics#5098

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@steveisok steveisok requested a review from tommcdon as a code owner February 18, 2026 02:57
Copilot AI review requested due to automatic review settings February 18, 2026 02:57
@steveisok steveisok requested a review from a team as a code owner February 18, 2026 02:57
@dotnetrepoman dotnetrepoman bot added this to the February 2026 milestone Feb 18, 2026
@steveisok steveisok requested a review from hoyosjs February 18, 2026 02:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR documents that dump collection is not supported on mobile platforms (Android and iOS) due to the Mono runtime not supporting memory dump generation. The documentation is added to three files: the general dumps overview, the crash dumps documentation, and the FAQ.

Changes:

  • Added a NOTE callout to dumps.md explaining that dump collection isn't supported on mobile platforms
  • Added a NOTE callout to collect-dumps-crash.md stating mobile platform limitations
  • Added a new FAQ entry explaining why dump collection fails on Android and iOS

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
docs/core/diagnostics/faq-dumps.yml Added new FAQ question and answer about dump collection limitations on Android and iOS
docs/core/diagnostics/dumps.md Added NOTE callout explaining mobile platform dump collection limitations with technical explanation
docs/core/diagnostics/collect-dumps-crash.md Added NOTE callout about mobile platform limitations

Configuring your application to collect a dump on crash is done by setting specific environment variables. This is helpful when you want to get an understanding of why a crash happened. For example, capturing a dump when an exception is thrown helps you identify an issue by examining the state of the app when it crashed.

> [!NOTE]
> Dump collection isn't supported on mobile platforms (Android and iOS).
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The note should include tvOS along with Android and iOS, and should provide an explanation of why dump collection isn't supported. Throughout the diagnostics documentation, these three platforms are consistently grouped together as mobile platforms that use the Mono runtime. The note should read: "Dump collection isn't supported on mobile platforms (Android, iOS, and tvOS). The Mono runtime used on these platforms doesn't support memory dump generation."

Copilot uses AI. Check for mistakes.
Dumps can be collected in a variety of ways depending on which platform your app is running on.

> [!NOTE]
> Dump collection isn't supported on mobile platforms (Android and iOS). The Mono runtime used on these platforms doesn't support memory dump generation.
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation should include tvOS along with Android and iOS. Throughout the diagnostics documentation (diagnostic-port.md, dotnet-counters.md, dotnet-gcdump.md, dotnet-trace.md, dotnet-dsrouter.md), these three platforms are consistently grouped together as mobile platforms that use the Mono runtime. The note should read: "Dump collection isn't supported on mobile platforms (Android, iOS, and tvOS). The Mono runtime used on these platforms doesn't support memory dump generation."

Copilot uses AI. Check for mistakes.
Comment on lines +62 to +64
Why can't I collect dumps on Android or iOS?
answer: |
Dump collection isn't supported on mobile platforms (Android and iOS). These platforms use the Mono runtime, which doesn't support memory dump generation.
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation should include tvOS along with Android and iOS. Throughout the diagnostics documentation (diagnostic-port.md, dotnet-counters.md, dotnet-gcdump.md, dotnet-trace.md, dotnet-dsrouter.md), these three platforms are consistently grouped together as mobile platforms that use the Mono runtime. The answer should mention all three platforms and include the explanation: "Dump collection isn't supported on mobile platforms (Android, iOS, and tvOS). These platforms use the Mono runtime, which doesn't support memory dump generation."

Suggested change
Why can't I collect dumps on Android or iOS?
answer: |
Dump collection isn't supported on mobile platforms (Android and iOS). These platforms use the Mono runtime, which doesn't support memory dump generation.
Why can't I collect dumps on Android, iOS, or tvOS?
answer: |
Dump collection isn't supported on mobile platforms (Android, iOS, and tvOS). These platforms use the Mono runtime, which doesn't support memory dump generation.

Copilot uses AI. Check for mistakes.
Comment on lines +62 to +64
Why can't I collect dumps on Android or iOS?
answer: |
Dump collection isn't supported on mobile platforms (Android and iOS). These platforms use the Mono runtime, which doesn't support memory dump generation.
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The question should include tvOS. Throughout the diagnostics documentation, Android, iOS, and tvOS are consistently grouped together as mobile platforms. The question should read: "Why can't I collect dumps on Android, iOS, or tvOS?"

Suggested change
Why can't I collect dumps on Android or iOS?
answer: |
Dump collection isn't supported on mobile platforms (Android and iOS). These platforms use the Mono runtime, which doesn't support memory dump generation.
Why can't I collect dumps on Android, iOS, or tvOS?
answer: |
Dump collection isn't supported on mobile platforms (Android, iOS, and tvOS). These platforms use the Mono runtime, which doesn't support memory dump generation.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dump Generation Failure on Android in .NET MAUI Blazor Hybrid App

2 participants

Comments