ScriptDebugger: Inspect values of ref variables

Hello,
when I try to inspect the value of a ref variable I get the following exception:
"Exception occured: InvalidCastException, Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Samples.Debugging.CorDebug.NativeApi.ICorDebugStringValue'.
This operation failed because the QueryInterface call on the COM component for the interf"ace with IID '{XXXX}' failed due to the following error:
Schnittstelle nicht unterstützt (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."
The problem can be easily reproduced in the script debugger demo.
Samle code, breakpoint at line 25 (val = 20;):
using System;
using System.Linq;
using System.Collections.Generic;
namespace DebuggerTest
{
public class Program
{
[STAThread]
public static void Main(string[] args)
{
int a = 0;
int b = 0;
TestMethod1(ref a);
TestMethod2(ref b);
}
static void TestMethod1(ref int val)
{
val = 10;
}
static void TestMethod2(ref int val)
{
val = 20;
}
}
}
Hello,
Thank you for the bug report.
This is a known issue which we already fixed.
We will include this fix to the next release and happy to provide a hot fix if needed.
regards,
Andrew
Thanks for quick the answer.
When will the new version be released?
Hello,
This is going to be a major release, so we're looking at first quarter of 2020.
regards,
Andrew