When I am debugging a program in Xcode, I can pause execution in there debugger console. Is there any way to do this using gdb from the command line?
I\'d like to do
You can just press Ctrl+C and will be able to do what you ask, although it might not always work (see comments below).