If I have a nested loop scenario and I am stepping into it in debug mode. Ex:
for (int i = 0; i < listTest.Count; i++)
{
for (int j = 0; j < anotherList.Count; j++)
{
//Some logic that throws an exception
}
}
Is there a way for me to know the values of i, j, listTest[i] and anotherLIst[j]
just before the exception occurred? If the count values are high, it's impractical to loop through the loops and watch these values before the exception occurs