Windbg shows info dialog that it cannot open MFC code from devdiv.visualstudio.com

Dev Stability 7 Reputation points
2023-01-31T07:31:16.9433333+00:00

Windbg show this info dialog with below message when single stepping through MFC code:

The file 'https://devdiv.visualstudio.com/DevDiv/_apis/git/repositories/msvc/items?path=src/vctools/VC7libs/Ship/ATLMFC/Src/MFC/wincore.cpp&versionDescriptor[versionOptions]=0&versionDescriptor[versionType]=2&versionDescriptor[version]=0a7a0c7ef973187f59b10575b76ab07d8e7b3bbe&resolveLfs=true&$format=octetStream&api-version=5.0&download=false' cannot be opened

windbginfo-mfccode

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,525 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
938 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 40,276 Reputation points
    2023-01-31T12:09:23.5+00:00

    Have you told Windbg where the MFC source files are located? You can do this with File->Source File path and giving the paths in the dialog that opens as shown below -

    windbgsource

    You should also consider setting up Windbg so that it can load the symbol files for the MFC dlls. Refer to Using a Symbol Server