Did you run in Debug-Mode?

I didn't programm C++ for a few years now, but I believe the Debugger should jump to the line where the exception is thrown, shouldn't it?
From there you should be able to inspect the contents of your variables and maybe use breakpoints to examine what goes wrong.

I can only recommend you to learn the debugger.