If you want a consistent set of instructions which always cause it to fail, then comment out this line. Then you'll always end up with the same maze which crashes on the 5 move left say.
> project3new.exe!maze::moveright() Line 83 + 0x23 bytes C++
Double-click on this line, then it will take you to your code.
Then you can click on your variables to examine the current values to see if they make sense.