As is the custom, the code which works perfectly in your local environment rarely works as perfectly in your remote test environment. Some issues can only be reproduced on the different hardware ...
Code doesn't always go as planned. It would be great if we all could write code that works perfectly all the time but ultimately bugs will creep in and our code never works right the first time.
I didn't know I could do this until a few weeks ago: While still in Edit mode, you can right-click on a line of code and select Run to Cursor. Visual Studio will compile your application (if necessary ...
Visual Studio provides a rich set of tools for finding bugs, though most developers aren't aware or don't take advantage of all of them. Bugs occur at two stages in a code's life: during development ...