Easier debugging stl array
- by bobobobo
In MSVC++ I have a vector.
Whenever you go out of bounds of the vector (in debug mode, launched as "Start Debugging"), when you step out of bounds of the vector the program halts with a dialog box:
Microsoft Visual C++ Debug Library
====
Debug Assertion Failed!
Expression: Vector subscript out of range
Abort | Retry | Ignore
So what I want though is the MSVC++ debugger within visual studio to STOP AT THE LINE WHERE THE OUT OF BOUNDS OCCURRED, not give me this dialog box.
How can I cause the program to "break" properly and be able to step through code /inspect variables when an out of bounds occurs on an STL vector?