Is there a way to force VS to show every line of code that is executed after a click event? I am not sure where the first line of code is that will be executed so placing a specific breakpoint will not help. I am using c# with asp.net if that matters.
Asked
Active
Viewed 1,087 times
0
-
put a break point at an earlier point then move F10 step by step – Amr Elgarhy Jul 07 '15 at 19:54
-
client or server side? – Paddy Jul 07 '15 at 19:55
-
Take a look at [this](http://stackoverflow.com/questions/3978364/debugging-all-events-in-visual-studio-2010-without-setting-break-points). – Hamid Mosalla Jul 07 '15 at 19:58
-
there is a user click so I don't think I can use a breakpoint that is to early – DuckDodger Jul 07 '15 at 19:58
1 Answers
1
you can put a breakpoint at the first known line (that you can pragmatically state), when it stops, check the stacktrace, keep clicking on the previous statements to check the order. It may be that some of these statemnts are CLR and you may not have source code, but that tells you atleast what the statement is doing.

Krishna
- 2,451
- 1
- 26
- 31