阅读背景:

我可以让Xcode的调试器以编程方式中断吗?

来源:互联网 

I'm looking for a way to cause the XCode debugger to break programmatically from Swift code if my iOS program is running in the debugger. This would be similar to the way System.Diagnostics.Debugger.Break() works in the Visual Studio environment. Is this possible? The point would be for any developer that hits a particular section of code to break, but not to have a fatal error that causes code execution to stop permanently.I'm looking for a way to cause the XCode debugg




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: