I would like to know how to step into the highlighted yellow area to find out the response of the variable listAgents. When i debug it is just skipping the yellow area and jumping to the next line. Any suggestions?
I would like to know how to step into the highlighted yellow area to find out the response of the variable listAgents. When i debug it is just skipping the yellow area and jumping to the next line. Any suggestions?
Seems like you are trying to debug an anonymous function. Pressing F10 or F11 will simply jump over the statement as VS does not know when this delegate will be executed. To debug anonymous methods put a break point inside the function body and invoke the delegate.
To jump to the next line use either F10 or F11.
F10 jumps over them,
F11 goes into the methods
EDIT:
in your case: set the breakpoint in the executing block (shortcut for setting a breakpoint: F9)