Click to See Complete Forum and Search --> : Steping into only my code


Norm Moulton
April 15th, 1999, 01:11 PM
Does anyone know if there is an option in the Visual C++ IDE to _not_ step into the MFC source code? For example when I want to step into the following line:

m_strId = GetTag(strName, "INFO_TEXT");

I first step into the CString code for each of the parameters before it steps into my GetTag() function. There must be (or there should be) an easy way to stop this from happening. I trust Microsoft to have the MFC code fully debugged anyway :)

Thanks,
Norm

Paul McKenzie
April 15th, 1999, 03:57 PM
You have the *opposite* problem that most people have. It's trying to get the darn debug code to load in the debugger! :-()

I've never tried it, but in the Project Settings in the "Debug" tab, there is a drop-down combo called "Additional Settings". If you listed the MFC dll there and did not place a check mark, this may turn off loading the symbols for the debug MFC library (MFC42D.DLL, I believe).

Regards,

Paul McKenzie

Norm Moulton
April 15th, 1999, 04:10 PM
Thanks for the idea, but in my case I'm linking the MFC library statically, so I don't have any DLLs listed where you said. Also, I think I heard someone say once there is a "secret" file that has the names of classes that the debugger will not enter, but I can't remember where it is or how to do it, and I thought maybe there was a general setting to prevent all MFC classes from being debugged.