Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对以下情况感到有些困惑:我在 iPhone 静态库项目中使用了 OCUnit。为什么我在调试区看不到 NSLog 输出?有没有办法解决它?我可以在系统控制台中很好地看到 NSLog 输出,但是一段时间后来回切换会很烦人(或者我应该只获得第二个屏幕)。
编辑:我猜我在调试器中看不到 NSLog 输出的原因是因为otest运行测试 - 这就是系统控制台提到otest作为 NSLog 输出源的原因。如果有一种方法可以在调试器中以某种方式查看此输出,那仍然会很好。