简体   繁体   English

iOS-使用模拟器时如何将Xcode控制台置于gdb模式

[英]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.

相关问题 在为iPhone模拟器构建时,在XCode控制台中不再有gdb - No more gdb in XCode console when build for iPhone simulator 如何在gdb控制台模式下捕获新线程? - How to catch new thread in gdb console mode? iOS 8:如何正确设置扩展程序以使用模拟器在Xcode中对其进行调试? - iOS 8: How to properly setup extension to debug it in Xcode using simulator? 在 XCode 模拟器上使用 Frida - Using Frida on XCode Simulator 运行iPhone模拟器时,您可以将Xcode控制台的日志输出重定向到终端吗? - Can you redirect log output of Xcode console to Terminal when running iPhone Simulator? 如何在 iOS 设备上启用开发者模式而不使用 Xcode 6 向其部署应用程序? - How to enable developer mode on an iOS device without deploying an app to it using Xcode 6? 使用exec函数时如何使用gdb进行调试 - How to debug with gdb when using exec functions 如何在gdb中退出wh模式 - how to exit the wh mode in gdb 如何在Xcode中的设备和模拟器之间来回切换调试模式? - How do I switch debugging mode back and forth between a device and the simulator in Xcode? 在iOS模拟器和设备上抛出异常时,Xcode调试器中缺少堆栈跟踪 - Missing stack trace in Xcode debugger when exception is thrown on both iOS simulator and device
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM