Uh oh!
There was an error while loading. Please reload this page.
[mono][debugger] Fix assertion when stepping - #118458
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes assertion failures when stepping in the Mono debugger on ARM64 by aligning the breakpoint address calculation logic with the AMD64 implementation. The changes remove the division by 4 that was causing incorrect indexing into the breakpoint addresses array.
- Removes division by 4 from the breakpoint trampoline offset calculation
- Updates array indexing to use native_offset directly instead of native_offset/4
- Eliminates assertions that required 4-byte alignment
Uh oh!
There was an error while loading. Please reload this page.
Tagging subscribers to this area: @steveisok, @vitek-karas |
thaystg
commented
Aug 6, 2025
/backport to release/9.0-staging |
Started backporting to release/9.0-staging: https://github.com/dotnet/runtime/actions/runs/16783124435 |
thaystg
commented
Aug 6, 2025
/ba-g unrelated failure |
Uh oh!
There was an error while loading. Please reload this page.
BrzVlad
commented
Aug 8, 2025
@thaystg I don't really understand why the code offset would ever not be 4 byte aligned. I thought all arm64 instructions are 4 bytes ? |
Using the same logic used on amd64.
Fixes#110016