Breakpoint triggers watchdog timeout on MacCatalyst/iOS

Open
#117,352 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
28/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp, ios

Research direction

Start with the linked MauiTestApp breakpoint-triggers-watchdog reproduction on MacCatalyst with a webcam, then inspect the runtime handling of audio/video callbacks while execution is paused. Done means breakpoint inspection no longer causes callback buildup, unbounded memory growth, unresponsiveness, or a watchdog reboot on the stated SDK, OS, and ARM64 setup.

Written by the indexing model from the issue text.

Description

area-Diagnostics-mono enhancement
Description

If a breakpoint is triggered, callbacks for audio/video appear to be queued up leading to the exhaustion of system memory and eventually a reboot due to a watchdog timeout.

Reproduction Steps

Run the following with a webcam attached on MacCatalyst:
https://github.com/jeremy-visionaid/MauiTestApp/tree/breakpoint-triggers-watchdog

Expected behavior

Breakpoint triggers and app execution is paused with no growth in memory usage.

Actual behavior

Application memory usage grows rapidly until the system become unresponsive and reboots from a watchdog timeout.

Regression?

No response

Known Workarounds

Perform the debugging inspections really quickly!

Configuration

dotnet sdk 9.0.301
macOS 15.5
ARM64

Other information

No response

Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.