I have downloaded a sample mvc application which has a fair bit of code and quite complex. in order to understand the code i want to step through all of the code line by line as i complete basic functions via the gui. problem is i am not always sure which line the code executes from so i cannot always set a breakpoint.
is there a way to view all code line by line as it executes, in visual studio 2008, without setting a breakpoint?
One thing to try is to add a few breakpoints to specific functions that you know will execute when you invoke certain GUI operations.
Then, examine the call stack when breaking in the debugger to see if there are any common library methods which are common to each of the call stacks (i.e. at the lower-end of the call stack).
Then perhaps you could add a breakpoint in the library method to catch all GUI operations.