突破失败的断言调试器 [英] Break the debugger on assertion failed

查看:143
本文介绍了突破失败的断言调试器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法打破调试器时断言是假的,运行使用Visual Studio调试应用程序。在早些时候,我调试Windows应用程序,我会得到一个异常,调试器将打破,但现在对智能设备的断言失败窗口显示带有堆栈跟踪,但我也想看看变量值等。

Is there a way to break the debugger when assertion is false and running the application using Visual Studio debugger. Earlier when I was debugging Windows application I would get an exception and the debugger would break, but now on Smart Device an assertion failed window is showed with stack trace, but I would also like to see variable values etc.

推荐答案

愚蠢的我来说,解决办法很简单。当窗口弹出,按下暂停在调试器:)

Stupid me, the solution was simple. When the window pops out, press pause in debugger :)

这篇关于突破失败的断言调试器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆