The debugger lets you control the execution of your program by setting breakpoints, suspending executed programs, stepping through your code, and examining the contents of variables.
To debug a project:
The Debug Configurations dialog opens.
You can now select this debug launch configuration by name the next time that you debug this project.
You will be prompted to switch to the Debug Perspective. Click Yes
You will now see the debug perspective with the hello.exe application window open. The C/C++ editor repositions in the perspective.
The breakpoint will be hit.
The output in the hello.exe application window is:
"You just entered m, you need to enter m to exit."
To learn more about the debugging, see to the related debug conceptual topics.
Debug overview
Debug information
Debug view
Debug launch controls