Closed man75319 closed 2 years ago
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
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