Home
Sign Up
Sign In
V2EX
›
问与答
请教个 Visual Studio 2015 中的问题: 使用的是 C++ 当确定触发断言时,比如直接使用 assert(false),程序不弹出 Debug Error 的对话框,直接退出。 该怎么设置才能让它弹出对话框呢
xp178171640
·
Oct 28, 2019
· 2170 views
This topic created in 2563 days ago, the information mentioned may be changed or developed.
assert
error
对话
debug
3 replies
•
2019-11-05 13:34:46 +08:00
ysc3839
Oct 28, 2019
1
Debug 版本才会弹出吧?
xp178171640
OP
Oct 28, 2019
2
@
ysc3839
对啊 肯定是 debug 版本啊 assert 在 release 版本是无效的。
xp178171640
OP
Nov 5, 2019
3
已找到答案!!!
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
5030 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 08:02
·
PVG 16:02
·
LAX 00:02
·
JFK 03:02
♥ Do have faith in what you're doing.
❯