Skip to content

Cannot step into a Tail Call #110441

@thaystg

Description

@thaystg

Description

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 and it behaves like a resume.

Reproduction Steps

Get this code:
https://github.com/dotnet/runtime/blob/e99557baffbe864d624cc1c95c9cbf2eefae684f/src/tests/JIT/Regression/JitBlue/Runtime_39581/Runtime_39581.il
Add a breakpoint on line 94 and try to step into.

Expected behavior

Pause on line 60.

Actual behavior

Resume.

Regression?

It worked before .NET 6.

Known Workarounds

Remove the tailcall usage.

Configuration

.NET 8.

Other information

No response

Metadata

Metadata

Assignees

Labels

area-Diagnostics-coreclrin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions