Skip to content

[release/8.0-staging] [debugger] Support step into a tail call#110440

Merged
thaystg merged 1 commit into
release/8.0-stagingfrom
backport/pr-110334-to-release/8.0-staging
Dec 10, 2024
Merged

[release/8.0-staging] [debugger] Support step into a tail call#110440
thaystg merged 1 commit into
release/8.0-stagingfrom
backport/pr-110334-to-release/8.0-staging

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 5, 2024

Copy link
Copy Markdown
Contributor

Backport of #110334 to release/8.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.

Addressing Tom's and Mikelle's comments

Removing unrelated change and adding enum

Changing the comment.
@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.

@teo-tsirpanis teo-tsirpanis added this to the 8.0.x milestone Dec 5, 2024

@jeffschwMSFT jeffschwMSFT 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 8.0.x

@thaystg

thaystg commented Dec 9, 2024

Copy link
Copy Markdown
Member

Approved by email.

@thaystg thaystg added the Servicing-approved Approved for servicing release label Dec 9, 2024
@thaystg thaystg merged commit eda4c70 into release/8.0-staging Dec 10, 2024
@jkotas jkotas deleted the backport/pr-110334-to-release/8.0-staging branch December 29, 2024 15:51
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants