As title, the program debugging, throw an exception in instant window "System. IndexOutOfRangeException picturebox drawing errors, displayed blank and a red rectangular box with a big steel fork! Programs don't quit, don't show where is wrong, so I want to seek advice, how to make c # when debugging, throw an exception is automatically interrupted, and locate the program code? It can be? Thanks for your bosses first!

CodePudding user response:
Change the solution configuration to Debug mode