Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ILR无法在泛型函数内断点 #729

Closed
man75319 opened this issue Sep 20, 2022 · 0 comments
Closed

ILR无法在泛型函数内断点 #729

man75319 opened this issue Sep 20, 2022 · 0 comments

Comments

@man75319
Copy link

Describe the bug
在泛型函数内打断,无法正确截获.
public void Chy()
{
TestChy(10); //断点1
Debug.Log(222222);
}

public T TestChy(int x)
{
Debug.Log(x);//断点2
return default;
}

To Reproduce
仅在“断点2”断点,无法截获
仅在“断点1”断点,能截获,且能单步到“断点2”

Expected behavior
仅在“断点2”断点,能截获

Unity Version
2020.3.36f1(非国行)

ILRuntime Version
2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant