There is an annoying bug in VS 2008 that it will stop at some portion of the code that 开发者_StackOverflowdoes not have a breakpoints. Even if I remove all the breakpoints. It will still stop at those points for unknown reasons (No exception or any problems like that). The only way for it not to stop is disabling the breakpoints. It is time consuming for me in some cases; I need to go through lots of clicks in order to go through them. Any help is appreciated.
I found out I did something silly. Instead of hitting the "continue" (F5) button, I hit the "stepping out" button instead. It might be a bug in VS 2008. I thought if I had removed all the break points, stepping out means "continue" because it should never had "stepped in" in the first place. But apparently it is not the case for VS. It will stop at some part of the code even though there are no break points set.
精彩评论