Ourpalm / ILRuntime

Pure C# IL Intepreter Runtime, which is fast and reliable for scripting requirement on enviorments, where jitting isn't possible.
Other
2.99k stars 655 forks source link

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

Closed man75319 closed 2 years ago

man75319 commented 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