Skip to content

Update stepping through ExternalMethodFixup under the Debugger - #108942

Merged
mikelle-rogers merged 5 commits into
dotnet:mainfrom
mikelle-rogers:dev/mirogers/externalMethodFixup
Oct 28, 2024
Merged

Update stepping through ExternalMethodFixup under the Debugger#108942
mikelle-rogers merged 5 commits into
dotnet:mainfrom
mikelle-rogers:dev/mirogers/externalMethodFixup

Conversation

@mikelle-rogers

Copy link
Copy Markdown
Member

This PR updates stepping through the ExternalMethodFixup stub, used when calling other modules in a R2R app, under the debugger by introducing a callback rather than setting a breakpoint within the stub. This is needed as a result of the app crashing on MacOS arm64 if the breakpoint is set on the text section of the module.

@mikelle-rogersmikelle-rogers self-assigned this Oct 16, 2024
@ghostghost added the area-VM-coreclr label Oct 16, 2024
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

@mikelle-rogers
mikelle-rogers marked this pull request as ready for review October 16, 2024 19:46
Comment threadsrc/coreclr/vm/stubmgr.cpp

@noahfalknoahfalk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, a few minor suggestions inline 👍

Comment threadsrc/coreclr/debug/ee/controller.cpp Outdated
Comment threadsrc/coreclr/vm/prestub.cpp Outdated
Comment threadsrc/coreclr/vm/stubmgr.cpp Outdated
@mikelle-rogers
mikelle-rogers merged commit 6fc6ca5 into dotnet:mainOct 28, 2024
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Nov 28, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@mikelle-rogers@noahfalk@jkotas