Stepping through C++ programs
You can step through methods as objects are constructed and destructed.
In addition, you can step through static constructors and destructors.
These are methods of objects that are executed before and after main()
respectively.
If you are debugging a program that calls a function that resides in a header file, the cursor moves to the applicable header file. You can then view the function source as you step through it. Once the function returns, debugging continues at the line following the original function call.
You can step around a header file function by issuing the STEP
OVER
command. This is useful in stepping over Library functions
(for example, string functions defined in string.h) that you cannot
debug anyway.