24

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 this so I can modify breakpoints after the program has started.

rich.e
  • 3,660
  • 4
  • 28
  • 44

1 Answers1

41

You can just press Ctrl+C and will be able to do what you ask, although it might not always work (see comments below).

Antonio
  • 19,451
  • 13
  • 99
  • 197
RushPL
  • 4,732
  • 1
  • 34
  • 44