In Xcode, there doesn't seem to be an obvious way to do this. Visual Studio's debugger provides a k开发者_开发技巧eyboard shortcut which sets a temporary breakpoint on the line selected in the code window, runs the debugger to that point, and then removes the breakpoint. In Xcode, it seems that you have to manually set and remove the breakpoint to accomplish the same thing.
Is there a simpler way?
Right-click on breakpoint border
=> Continue to Here
精彩评论