Code Red => .NET => Topic started by: Andrey Bushman on October 09, 2012, 05:26:42 AM
Title: Unexpected behavior at the IDE
Post by: Andrey Bushman on October 09, 2012, 05:26:42 AM
Hi all, MS Visual Studio 2010 SP1.
I have wrote some class. Then I have wrote unit tests for it. Please, look at the my first screen. If I run unit test via "1" button, then a code works as I have expect, but if I run unit test via "2" button, then I have unexpected behavior. Please, look at the my second screen. When the condition
is true, I press the F10 button and go to row number 175. I press F10 button again, and... I go to row number 177. Why it happens??? After row number 175 I must have return from method, because exception must occur.