I can\'t find an option to stop a running program (whether in debug or release mode).
So for now, I stop the program (returning control to Eclipse) simply by closing
Add breakpoint to your code where you want to stop and then run it in Debug mode by pressing F11.