Visual Studio中使用c ++的条件断点 [英] conditional breakpoints with c++ in Visual Studio

查看:126
本文介绍了Visual Studio中使用c ++的条件断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用C ++语言在Vistual Studio 2008中是否可以有条件断点(不更改源代码的任何内容)?

Is it possible to have conditional breakpoints (without changing anything about the sourcecode) in Vistual Studio 2008 with C++ language?

谢谢!

推荐答案

是的,您可以指定断点的条件以任何语言显示。请注意,这可能会大大降低执行速度,具体取决于条件和必须执行检查的频率。

Yes, you can specify a condition on a breakpoint in any language. Note that this can slow execution down quite a bit, depending on the condition and how often the check has to be made.

这篇关于Visual Studio中使用c ++的条件断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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