简体   繁体   中英

Console and Debugger not working while Unit Testing iPhone in XCode

I am building a logic test suite using Xcode 3.1.4. I am able so far to build the test target and see the results inside de *.m test files as compiler errors (if they fail). The problem is that I can't see any information in the Debugger Console and I can't debug since the debugger does not work either.

1.How can I do to see TestCases ouput on the debugger console?

2.Are there any configuration issues regarding Unit Testing and Debugging test cases?

I would be very greateful if anyone could help me.

Thanks!!

You can setup Google Toolbox for Mac . With it, you will be able to step through your code both on simulator and device.

一旦我取消选中DYLD_FRAMEWORK_PATH环境变量, http://www.grokkingcocoa.com/how_to_debug_iphone_unit_te.html对我很有帮助。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM