如何在.cpp文件的每个函数中放置断点? [英] How to put breakpoint in every function of .cpp file?
本文介绍了如何在.cpp文件的每个函数中放置断点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
(这不是你要求的,但几乎是) >
您可以在Visual Studio中的类的每个成员函数上放置一个断点,方法是打开新断点对话框并输入:
CMyClass :: *
Is there a macro that does it? Which DTE objects to use?
解决方案
(This is not quite what you're asking for, but almost:)
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屋!
查看全文