Is there a way to place a Breakpoint on a class, so that whenever control reaches any field, property or method of that class, execution breaks?
Asked
Active
Viewed 72 times
0
-
What language do you use? – Sergey Vlasov Mar 19 '16 at 10:09
-
See http://stackoverflow.com/questions/250576/break-whenever-a-file-or-class-is-entered (macro) – Sergey Vlasov Mar 19 '16 at 20:08
-
See http://stackoverflow.com/questions/14750967/how-to-set-a-breakpoint-in-every-method-in-vs2010 (OzCode) – Sergey Vlasov Mar 19 '16 at 20:09
-
See https://visualstudiogallery.msdn.microsoft.com/b4aaf8aa-58ab-40a1-b45c-feb3efc94e1e (Breakpoint Generator extension) – Sergey Vlasov Mar 19 '16 at 20:10
1 Answers
0
Just place the breakpoint at the Constructor of the class, or at a specific method.

flohdieter
- 130
- 4
- 15
-
The point is that I DO NOT want to place a breakpoint at every possible place in my class. I have a huge class (5000 LOC+) and I want to know when control hits this class. – marc wellman Mar 18 '16 at 13:24