返回   cpper编程论坛 > Zion/测试
注册账号 论坛帮助 会员列表 日历事件 搜索 今日新帖 标记版面已读

Zion/测试 惹人烦的东西这边来

回复
 
LinkBack 主题工具 显示模式
  #1 (permalink)  
旧 2004-01-19
高级会员
 
注册日期: 2003-08-02
帖子: 105
koolplay 正向着好的方向发展
默认 Debug Assertion Failed

一个程序编译通过了,但是运行时出现Debug Assertion Failed的提示框。请问是怎么回事?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
回复时引用此帖
  #2 (permalink)  
旧 2007-05-18
初级会员
 
注册日期: 2006-03-06
帖子: 8
peterzhou 正向着好的方向发展
默认 回复: Debug Assertion Failed

出来的提示框只有Debug Assertion Failed这几个字,我考,太难了
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
回复时引用此帖
  #3 (permalink)  
旧 2007-05-18
wqqafnd 的头像
高级会员
 
注册日期: 2004-10-08
帖子: 193
文章: 1
wqqafnd 正向着好的方向发展
发送 MSN 消息给 wqqafnd
默认 回复: Debug Assertion Failed

看你的编程环境,vs.net下可以选“中断”到出事地点。
如果是自己写的assert,都加上标示记号,例如:
assert(a != 0 && "This is in f()");
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
回复时引用此帖
回复

书签
主题工具
显示模式

发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码
Trackbacks are 启用
Pingbacks are 启用
Refbacks are 启用


相似的主题
主题 主题作者 版面 回复 最后发表
为何我的VS 2005无法debug Meta C/CPP/TMP/GP 3 2006-05-30 10:29 PM
vc 中扩展DLL的release版不能在debug exe程序中用? 我要自由 C/CPP/TMP/GP 8 2005-06-17 12:30 PM
VC下使用debug和命令行参数问题 phoenix 技术杂烩 1 2005-01-11 02:45 PM
VC中的debug窗口是不是显示范围有限度? koolplay 技术杂烩 6 2004-02-08 04:54 PM
(读书心得)关于实现Compile-Time Assertion,以类型转换为例 panda 技术杂烩 4 2003-03-31 05:23 PM


所有时间均为格林尼治时间 +9。现在的时间是 07:02 AM


Powered by vBulletin® 版本 3.7.0
版权所有 ©2000 - 2008,Jelsoft Enterprises Ltd.
(C) Copy Right All Right Reserved 2001 - 2007

Search Engine Friendly URLs by vBSEO 3.1.0