Subscribe to this list via RSS Blog posts tagged in iterator blocks

Posted by on in Blogs
Why Won't Visual Studio Step Into This Code? I helped another developer debug an interesting problem this morning. Let's see if you can spot the problem. The code in question looked something like this simplified version containing only enough code to show the problem: public void Execute() { DoStuff(); // breakpoint 1 } public IEnumerable<Coordinate> DoStuff() { LaunchMissiles(); // breakpoint 2 // rest of method here } Note that the result of the function DoStuff is not used by Execute. That resul...
  • Page :
  • 1

Check out more tips and tricks in this development video: