How to break whenever any line of code executes
Posted
by Aequitarum Custos
on Stack Overflow
See other posts from Stack Overflow
or by Aequitarum Custos
Published on 2010-04-01T21:34:21Z
Indexed on
2010/04/01
21:43 UTC
Read the original article
Hit count: 220
I have a very strange bug, which I believe is caused by some code we have executing, but I'm not sure where.
We can reproduce it to the point it happens whenever we click Tab, but short of putting a break point at the beginning of every method in the project to find out what is executing.
Is there a way to set visual studio to break whenever anything executes?
For those curious about the problem, every now and then, we have a few Rich Text Boxes that refuse to lose focus. You can't click out of it or tab out of it.
We have no On Validation or On Text Changed events attached to the control, and believe it's an event attached somewhere else to something we just aren't noticing.
© Stack Overflow or respective owner