I'm finding a way pausing program execution by code on Xcode
As an example, I can stop execution with abort()
C function. This pops Xcode debugger up.
However, this exits program completely, so I'm finding a way to pause execution. So I can resume execution after checking execution states.
This is required for handling light-weight errors. I tried pause()
C function, but it doesn't work. The execution aborted instead of pausing.