dotnet / dotnet/macios

iOS App Breakpoints Not Working

Open
#26,577 5 comments 0 reactions 0 assignees View on GitHub
need-attention
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 13h
Merged PRs (30d)
96

Description

### Apple platform

iOS

### Framework version

net9.0-*

### Affected platform version

VS2026

### Description

After updating our build environment to VS2026 (latest version) breakpoints are no longer hit when debugging our iOS app. The debug output works fine, we can see debug messages and information about the debugging session itself.

Breakpoints in the VS IDE have a warning on them and state that "no symbols have been loaded for this document".

This situation is identical whether building and running on a physical device or a simulator.

As far as I can tell, there is no log output that suggests any problems with breakpoints, although eventually an error concerning hot reload appears. I will attach the log output from an example debug session,

[debugoutput.txt](https://github.com/user-attachments/files/31954638/debugoutput.txt)

[debugoutput.txt](https://github.com/user-attachments/files/31954662/debugoutput.txt)

### Steps to Reproduce

I have no idea how to reproduce this

### Did you find any workaround?

_No response_

### Relevant logs

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the two attached debugoutput.txt files and comparing the behavior in the VS IDE on a physical device and simulator. Investigate why the affected document reports that no symbols are loaded; done means breakpoints are hit during iOS debugging in both environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, ios
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.