Skip to content

[release/9.0-staging] [debugger] Support step into a tail call - #110438

Merged
thaystg merged 2 commits into
release/9.0-stagingfrom
backport/pr-110334-to-release/9.0-staging
Dec 11, 2024
Merged

[release/9.0-staging] [debugger] Support step into a tail call#110438
thaystg merged 2 commits into
release/9.0-stagingfrom
backport/pr-110334-to-release/9.0-staging

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Dec 5, 2024

Copy link
Copy Markdown
Contributor

Backport of #110334 to release/9.0-staging

/cc @thaystg

Customer Impact

  • Customer reported
  • Found internally

#110441
A customer ships a compiler that uses tail calls and when their customers are debugging the app generated by this compiler and try to step into a tail call it behaves like a resume.

Regression

  • Yes
  • No

It works before .NET 6.

Testing

We manually tested using this internal test https://github.com/dotnet/runtime/blob/e99557baffbe864d624cc1c95c9cbf2eefae684f/src/tests/JIT/Regression/JitBlue/Runtime_39581/Runtime_39581.il and trying to step into the Callee.

Risk

Low risk, this will only affect the scenarios where we emit a tail call using the StoreTailCallArgs, which is not used a lot. As far as I understood it's impossible to generate it from a C# code, only F# and IL.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@tommcdontommcdon added this to the 9.0.0 milestone Dec 5, 2024
Addressing Tom's and Mikelle's comments
Removing unrelated change and adding enum
Changing the comment.
@github-actions
github-actionsBotforce-pushed the backport/pr-110334-to-release/9.0-staging branch from 306002e to cf2be04CompareDecember 5, 2024 14:49
@teo-tsirpanisteo-tsirpanis modified the milestones: 9.0.0, 9.0.xDec 5, 2024

@jeffschwMSFTjeffschwMSFT 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. we will take for consideration in 9.0.x

@thaystg

Copy link
Copy Markdown
Member

Approved by email.

@thaystgthaystg added the Servicing-approved Approved for servicing release label Dec 9, 2024
@thaystg

Copy link
Copy Markdown
Member

/ba-g Build analysis blocked by #110517

@thaystg
thaystg merged commit 454fffd into release/9.0-stagingDec 11, 2024
@jeffschwMSFTjeffschwMSFT modified the milestones: 9.0.x, 9.0.2Dec 11, 2024
@jkotas
jkotas deleted the backport/pr-110334-to-release/9.0-staging branch December 29, 2024 15:49
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Jan 29, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Diagnostics-coreclrServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@thaystg@jeffschwMSFT@tommcdon@teo-tsirpanis