Beef
Beef copied to clipboard
[BUG] Debugger doesn't show variable contents from base type
Debugger doesn't show variable contents if the allocated type is generic with const constrain
Debugger watch window:
Code to reproduce:
class Normal
{
public String value = "normal";
}
class GenericVal<CValue>
where CValue : const bool
{
public String value = "Generic";
}
class GenericType<T> : this(T value)
{
}
static void Main()
{
Normal norm = scope .();
Object baseNorm = norm;
GenericType<int> genericType = scope .(10);
Object baseGenType = genericType;
GenericVal<false> genericVal = scope .();
Object baseGenVal = genericVal;
System.Diagnostics.Debug.SafeBreak();
}
Tested with: Nightly 05/08/2023