Delphi一直没有这个选项,只能在Project|Options...的Complier页中设置编译选项。

解决方案 »

  1.   

    oh,原来贴主是这个意思,我没用过VC,抱歉
      

  2.   

    有啊,在菜单Project->Options中compile页框中有debug设置,如果设置了,编译出来的就是Debug版
    否则就是release版
      

  3.   


    完全同意 alphen(正在学习VC)  
      

  4.   

    据我所知vc的debug版本有这么一个功能
    在程序运行出错的时候可以直接进入代码调试,比如用assert(bConditiong,'caption')
    不知道delphi怎么设置
      

  5.   

    $ASSERTIONS ONprocedure Assert(expr : Boolean [; const msg: string]);
      

  6.   

    也有,要加
    $ASSERTIONS ON/OFF 函数原型:
    procedure Assert(expr : Boolean [; const msg: string]);