English 中文(简体)
• 如何使X条码在测试代码上破例?
原标题:How to make Xcode to stop at exception on test code?

When I testing my code with OCUnit, it makes exception log and makes it fail, but never stop when the exception raises. Even the breakpoint doesn t work.

我想跟踪一下情况,并在例外情况下看到国家,但夸大了。 我怎么能够像常规守则那样淡化试验守则?

最佳回答

Set an exception breakpoint on the project. Go to the Breakpoint tab on the left pane of XCode. It looks like an arrow pointing Right. Then at the bottom of that screen click the + and Add Exception Breakpoint...

问题回答

暂无回答




相关问题
Selenium not working with Firefox 3.x on linux

I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my ...

Best browser for testing under Safari Mobile on Linux?

I have an iPhone web app I m producing on a Linux machine. What s the best browser I can use to most closely mimic the feature-limited version of Safari present on the iPhone? (It s a "slimmed down" ...

Code Coverage Tools & Visual Studio 2008 Pro

Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. We are using the built-in MS test project and unit testing tool (the one that come pre-installed ...

Is there any error checking web app cralwers out there?

Wondering if there was some sort of crawler we could use to test and re-test everything when changes are made to the web app so we know some new change didn t error out any existing pages. Or maybe a ...

热门标签