Hi Chuck,
Sorry for letting you wait.
Yes, I can reproduce this behavior. This is the effect of the Exception
Assistant(EA).
What happens is that the Exception Assistant automatically undwinds the
exception back to the line that through the exception. That is, it will
reset the EIP register to point to the start of this source code
statement.(At low level, it will reset to the start of the machine code
block of this statement, you can confirm this by using Disassembly window).
If you press F10 or F11, it will re-execute the line that throws the
exception.
The theory was that this way you can use Edit&Continue to fix your code. If
you don't like this behavior, you can go to
Tools->Options->Debugging->Enable the exception assistant and turn it off.
Hope this helps.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx. ==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.