条件断点取决于其他断点 [英] Conditional breakpoint depends on other breakpoint

查看:81
本文介绍了条件断点取决于其他断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在断点处停止,以防其他断点通过。

I need to stop at breakpoint in case when other breakpoint was passed. Is it possible realize in VC++?

推荐答案

为什么用这种方式调试两个断点?如果调试运行到特定的代码行,它将调用条件语句,然后触发条件断点;如果调试仅运行到A代码行,则我认为除非真正调用,否则它无法在B代码行中调用条件语句/运行到这一行。

Why did you debug your two breakpoint using this way? If the debugging runs to the specific code line, it would call the conditional, and then trigger the conditional breakpoint, if it just runs to A code line, I don't think it could call the conditional in B code line unless it really calls/runs to this line.

这篇关于条件断点取决于其他断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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