如何在 .cpp 文件的每个函数中放置断点? [英] How to put breakpoint in every function of .cpp file?
本文介绍了如何在 .cpp 文件的每个函数中放置断点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有宏吗?要使用哪些 DTE 对象?
Is there a macro that does it? Which DTE objects to use?
推荐答案
(这不是你想要的,但差不多:)
(This is not quite what you're asking for, but almost:)
您可以在 Visual Studio 中的类的每个成员函数上设置断点,方法是调出 New Breakpoint 对话框并输入:
You can put a breakpoint on every member function of a class in Visual Studio by bringing up the New Breakpoint dialog and entering:
CMyClass::*
See http://blogs.msdn.com/b/habibh/archive/2009/09/10/class-breakpoint-how-to-set-a-breakpoint-on-a-c-class-in-the-visual-studio-debugger.aspx for more details.
这篇关于如何在 .cpp 文件的每个函数中放置断点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文