一个程序最近设入断点后,调试时显示:
跳出下面提示框:
one or more breakpoints cannot be set and have disabled. Execution will stop at the beginning of the program.(不能设置一个或更多的断点,程序执行时将停止。)然后我设的断点,就变成白点了。其他程序都可以,就这个程序不行,怎么办,大家帮帮我。没办法调试,着急死了。

解决方案 »

  1.   

    是不是工程没有设为 active rebuild all
    delete .ncb, .aps,  try again.
      

  2.   

    striking(硬撑者) (  
     syy64(太平洋) ( )  
    你们两个的方法我都试过了
    ,都不行。
    还有别的办法么
      

  3.   

    http://www.chinaaspx.com/archive/VC/10747.htm
      

  4.   

    难道你设置为了releasebuild-》set active configuration-》选择debug
      

  5.   

    http://blog.csdn.net/bobob/archive/2005/12/23/559877.aspx
    再仔细检查!有时候出现这个问题是因为输出的位置和启动位置不是同一个
      

  6.   

    编译的时候是Debug版还是release版,release版的是不能加断点的。
      

  7.   

    VC\project\setting\link\然后勾上Generate debug info和link incrementally
      

  8.   

    谢谢大家:
    我已经解决了,用release下面调试程序,就可以了。
    我是按照下面的方法进行的:
    http://www.china-askpro.com/msg36/qa35.shtml谢谢大家