在VC6.0中如何使用断点功能??在那?

解决方案 »

  1.   

    这个也可以用:Generates a message box in a debug build with the indicated string literal, the source file name, and the source line number. Buttons in the message box enable you to break into the debugger, kill the application, or ignore the message box. void WINAPI DbgBreakPoint(
      const TCHAR *pCondition,
      const TCHAR *pFileName,
      INT iLine
      );
    Parameters
    pCondition 
    Pointer to a string indicating what happened. 
    pFileName 
    Pointer to a source file name. 
    iLine 
    Line number within the source file. 
    Res
    This function is available only in a debug build