Home > Software engineering >  MFC debug the related problems in the visual studio2010 ~ ~ thank you!!
MFC debug the related problems in the visual studio2010 ~ ~ thank you!!

Time:10-10

Excuse me debugging in visual studio2010 MFC procedures, how to but not to enter a function performed inside?
Just like the example below:

Void CTestAllDlg: : OnBnClickedButton3 ()
{
//TODO: add the control notification handler code
DestroyWindow ();
}

This is a oneself add DestoryWindow button message response function, when I set the breakpoint to perform to the DestroyWindow (); Inside, only to find that can't get into the function of interior, is allowed to enter inside how to do?

Thank you!!!!

CodePudding user response:

Choose step in the options of the compiler for debugging,

CodePudding user response:

Did you add breakpoints where DestoryWindow function not

CodePudding user response:

Press F11 when debugging

CodePudding user response:

Just before the function to add an instruction, and the breakpoint is set in this instruction, the breakpoint, use into the MFC function in a single step mode,
  • Related