I am debugging my project in VS2015 and an exception is thrown in my code. When I try to set the next statement I get the error message displayed below. When I debug the same solution in VS2013 I am able to set the next statement without any problems. This behavior seems to occur for multiple kinds of exceptions.
Example code that I can reproduce the problem with is shown below. When an exception is thrown on the last line in TestMethod1
I can easily move back to the 1st statement in VS2013 but not in VS2015.
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
object o = new object();
o = null;
var e = o.ToString();
}
}