Link to home
Start Free TrialLog in
Avatar of Tom Knowlton
Tom KnowltonFlag for United States of America

asked on

Setting breakpoints

Is it possible to set breakpoints for every line of code?

Is it possible to know what the first line of code is?  Meaning...when I debug - the first line of code I visit where I can set a breakpoint?

I'm new to MVC and I am wanting to get a better idea of what the code is doing, from the beginning.
SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
While dustock isn't incorrect in what he states, ASP.NET really has two forms of execution:  One is the actual execution of the ASP.NET host application, which is what dustock's example demonstrates, and the other is the processing of an actual request. Technically speaking, the host application is the only thing executing, but when you start thinking about what the client sees/does on your application, then for them execution is the processing of an individual request. This differentiation is what I was referring to above when I said, "it's a bit more difficult to know where execution begins".
Well said kaufmed!
Avatar of Tom Knowlton

ASKER

Thank you both.  : )