The following module was built either with optimizations enabled or without debug information - winz...

<?xml version="1.0" encoding="UTF-8"?>

The following module was built either with optimizations enabled or without debug information

今天同事的项目在Debug时遇到一个问题,添加断点,提示:断点在当前文本无效,给调试同昨带来一个问题,经研究发现,这个与Debug的模式有关。

前提:VS2005 sp1,Debug模式。

运行时提示如下信息:

根据提示可以不显示此对话框:

 Tools --> Options --> Debugging --> General --> Enable Just my code (Managed only) --> un check "Warn if no user code on launch"

但是仍然没有解决无法调试的问题,继续研究。

If you right click on the project and go to 'properties', then select the 'build' tab, on the bottom of the page there's an 'Advanced...' button that will display your setting for you output debug info. Set that to 'full' and the error should go away.

OK,搞定。

 

转载于:https://www.cnblogs.com/muzizongheng/p/3167273.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值