PRB: Debugger Loses Source/Disassembly File MappingLast reviewed: July 25, 1997Article ID: Q127802 |
The information in this article applies to:
SYMPTOMSIf you choose Cancel when asked for the location of a source file while debugging, you will not get another chance to map the disassembly code to its corresponding source file. For example, suppose that you have moved a source file belonging to the debug version of a program to some other directory. When you step into that code in the debugger, you will get a dialog box asking where the source file is located. If you then choose to Cancel that dialog box, a Disassembly window will be opened for the source. If you continue debugging and later step through the code that causes the same source file to be opened again, Visual C++ will automatically open up the Disassembly window and will not ask again for the source location.
CAUSEIn trying to prevent asking the user for a file's location over and over again, Visual C++ does not display the dialog box again if you chose Cancel the first time. If you subsequently decide that you really do want to see the source for a file, you must follow the steps listed below in the Resolution section.
RESOLUTIONTo work around this behavior:
STATUSThis behavior is by design.
|
Additional query words: IDE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |