[英]iOS - how to put Xcode console in gdb mode when using the simulator
When I build and test on the device, the Xcode console automatically goes into gdb mode, which makes it much easier to do stack traces. 当我在设备上进行构建和测试时,Xcode控制台会自动进入gdb模式,这使得执行堆栈跟踪变得更加容易。 However, when I test on the simulator the console does not use gdb. 但是,当我在模拟器上测试时,控制台不使用gdb。 I've looked everywhere for a preference setting but can't find anything. 我到处都在寻找偏好设置,但找不到任何东西。
How can you use gdb when using the simulator? 使用模拟器时如何使用gdb?
想通了-必须处于调试模式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.