1
vote
Why Won’t Visual Studio Step Into This Code?
Craig Stuntz's Weblog
– 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 result actually exists only for testing purposes; it’s essentially a log we use to monitor changes the ...
Statistics
|
Visits by Source |
User Actions |




