runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Proposal: support for local variables in SymbolReader for Portable PDB, Linux

Open Dmitri-Botcharnikov opened this issue 10 years ago • 2 comments

To support getting names of local variables from Portable PDB (see dotnet/coreclr#5809) the following method should be added to System.Diagnostics.Debug.SymbolReader (#8981):

public static bool GetLocalVariableName(string assemblyFileName, int methodToken, int localIndex, out IntPtr localVarName)
{
}

The output parameter localVarName is supposed to be marshaled as BSTR to native code. @lucenticus @mikem8361 @seanshpark @chunseoklee

Dmitri-Botcharnikov avatar Jun 21 '16 14:06 Dmitri-Botcharnikov

Are you going to make the change?

mikem8361 avatar Jun 21 '16 17:06 mikem8361

@mikem8361 I've prepared PR dotnet/corefx#9571 for this change

Dmitri-Botcharnikov avatar Jun 22 '16 09:06 Dmitri-Botcharnikov