dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.05k stars 4.04k forks source link

Legacy C# and VB Expression Evaluators still needed to debug DIA SDK COM interop #28656

Open drborts opened 6 years ago

drborts commented 6 years ago

Version Used: Visual Studio 2017 15.5.3

Steps to Reproduce:

  1. Setup a C# project to use the Microsoft DIA SDK (using tlbimp to get an interop DLL from the idl shipped with Visual Studio)
  2. Debug that project
  3. Try to inspect the value of any IDiaSymbol in the debugger

Expected Behavior: I can see the properties of the COM object and their values, as I can in VS 2013 and 2015

Actual Behavior: I can't see the values, I just see a "Native View" that, when expanded, is empty. If I turn on "Legacy C# and VB Expression Evaluators" I'm able to see the COM object's properties - which is essential for debugging with this API.

jinujoseph commented 6 years ago

cc @tmat