SOS debugger extension for windbg can't find source lines RRS feed

  • Question

  • (I previously asked this at and was told to raise it here.)

    Debugged a program running in .NET Framework 4.7.3 using SOS.dll. Enabled source line information with .lines. Verified source information was loaded successfully by running ? `myassembly!c:\blah\whatevs.cs:20`, which showed a correct offset. However, SOS's ip2md command didn't show a "Source file: " line.

    I debugged through the ip2md command in sos.dll and it correctly translated the eip address to an IL offset before calling a function in dbgeng, DebugClient::GetLineByOffset(), which returned E_FAIL. From the disassembly, it looks like this function has been replaced with an implementation that is hardcoded to return E_FAIL.

    Does SOS need updating?

    Windbg version: 10.0.17134.12 AMD64

    SOS version: 4.7.3260.0, API 1.0.0, built Fri Oct 5 12:31:09 2018 (x64)

    .NET framework version: 4.7.3260.0

    Thursday, February 7, 2019 8:43 AM