Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to put breakpoint in every function of .cpp file?

Is there a macro that does it? Which DTE objects to use?

like image 741
Constantin Avatar asked Oct 01 '08 22:10

Constantin


1 Answers

(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.

like image 76
RichieHindle Avatar answered Sep 18 '22 09:09

RichieHindle