You can make a breakpoint on the left side of your code like
and run your project by hitting (F5) .
And you can trace your code using F10(Step Over) and F11(Step Into) !
For more information , use this msdn link !
質問
I'm having a problem in tracing the execution flow in my c# code.With f10 or f11 i am able to trace just till the end of the main method.But in the runtime when an event is generated the function being executed is not traced. But I want to trace the code that is getting executed after the event is generated?
Thanks.
解決
You can make a breakpoint on the left side of your code like
and run your project by hitting (F5) .
And you can trace your code using F10(Step Over) and F11(Step Into) !
For more information , use this msdn link !