adding breakpoint at the closing brace of main-visual studio-c++ -
i starting learn c++ , keep console window closing in visual studios read add breakpoint @ closing brace of main. like? give quick example please? , please don't bag on me using visual studios, starting learn c++ , plan on learning how use different complilers in future, need specific answer specific question.
to set breakpoint in visual studio, click in left-hand margin. should see little red circle.
a breakpoint, regardless of ide, point in code debugging tool inserts itself. when program reaches position indicated breakpoint, program stops, , gives control debugger. in turn allows see mid-execution details of program (as preventing progressing further along in execution)
useful reference guide debugging in general (including breakpoints): http://www.codeproject.com/articles/79508/mastering-debugging-in-visual-studio-2010-a-beginn
Comments
Post a Comment