I am debugging C / C ++ code using Visual Studio. There is a loop called 10,000 times, and in one of the interactions, at the end of the loop, an error occurs because the program is trying to access the value N + 1 of an array of length N. I want to go back and debug the origin of the error, and I wonder if Visual Studio in debug mode to visually display or say which lines of source code were executed. Then it would be easier to find a mistake. Does anyone know if this is possible?
If this is not possible for VS, what other approaches can do this?
thank
EDIT: I also wonder if this can be done with any other IDE (Eclipse, Xcode, command line, etc.).
flow source
share