### Problems Getting a Source or Mixed View

If you are in the disassembly view of a section of code, you may find that you cannot obtain a source or mixed view of your code (either through the View menu or when you click on the Source View icon). There are several likely reasons for such problems. Click on links in the list below for proposed solutions:

- The code you are debugging was not compiled with debug information, because the debugger is finding a different version of the executable than the one you compiled with debug information.
- The code you are debugging was not compiled with debug information, because it is not code you wrote, but code in a DLL or other object that your program uses.
- The code you are debugging was compiled with debug information, but the debugger cannot locate the source code. If you try to switch to a source or mixed view in this situation, a dialog opens so that you can enter the path of the source file. If you select Cancel, the view remains a disassembly view.

Debugger Is Using a Different Executable Version
Debugger Cannot Find Source Code
Debugger Cannot Find Source Code
Environment Variables
Source Views for Code You Did Not Write