Avoid Stepping into unwanted functions while debugging.
![]()
While debugging we usually step into functions by using F11. But if the function have some CString parameters, the F11 will get into the CString constructor. This is a real headache while debugging. To avoid this, you can define a set of Step into ignorable functions in the autoexp.dat of Visual Studio.
![]()
1) The Autoexp.bat is in the following location.
<VisualStudioDir>\Common\MSDev98\Bin\AUTOEXP.DAT
2) For ignoring CString’s constructor and operator =, please add the following,
[ExecutionControl]
CString::CString=NoStepInto
CString::operator==NoStepInto
3) If you want to ignore all functions of a class then you can use,
[ExecutionControl]
CMyClass::*=NoStepInto
4) If you want to ignore all functions of a perticular namespace then you can use,
[ExecutionControl]
MyNameSpace::*=NoStepInto
[...] to be that to achieve that you used the [ExecutionControl] section in autoexp.dat, and seems it is widely believed to still hold. However, since 2003(!) the home of these setting is the registry. Since [...]