Want to build a debug tool to monitor the app, pause execution when bad things occur. Dev can continue run the program after be notified the problem.
May I just throw a exception or use a special signal?
I have tried raise(SIGSTOP)
, looks good.
But the backtrace showed in Xcode is not exactly what I stop it. Can I make a real time stop?