I am using MSVC++ 4.2 under Windows NT4.0 since it became available a couple years ago and I was always able to step into MFC functions using F11. A couple days ago, I had to reinstall the program because some third party memory checker screwed up my \msdev directory.
I did a Custom installation and I have the MFC sources on my hard disk ( size of \msdev > 206MB ). The "Directories" tab in the Tools/Options dialog with the "Source files" selected shows the correct path to my \msdev directories:
D:\MSDEV\mfc\src ( containing 279 files )
D:\MSDEV\mfc\include ( containing 75 files )
D:\MSDEV\crt\src ( containing 784 files )
D:\MSDEV\crt\src\intel ( containing 53 files )
The Environment tab in the System Properties has the following user variables:
However, I cannot step into MFC source. The program let me step into an assembly runtime routine like
strcpy() but it doesn't let me step into MFC functions. It just steps over. It doesn't let me set a breakpoint within a MFC function neither. It just beeps at me! If I set a breakpoint outside of a function and then start the debugger I get the usual message "One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program." After the click on OK, the program opens the file D:\MSDEV\mfc\src\APPMODUL.CPP, which is the file on my HD and not the file on the CD.
Is there anything that I should check in the "Project Settings" dialog like under the "C/C++ tab / Listing Files" ? Right now "No Listing" is selected.
I need expert advice so that I can step into MFC source again.