简体   繁体   English

super.viewDidLoad() 使我的应用程序崩溃

[英]super.viewDidLoad() crashes my app

On the line where super.viewDidLoad() it says Thread 1: Breakpoint 2.1.In the console it just says "(11db)".This is a screen shot:在 super.viewDidLoad() 的那一行上,它说 Thread 1: Breakpoint 2.1.In 在控制台它只是说“(11db)”。这是一个屏幕截图: 在此处输入图片说明

This problem was overcome by disabling all the breakpoints by pressing the arrow (pentagon thingy) at the bar near the console.这个问题是通过按下控制台附近栏上的箭头(五边形)禁用所有断点来解决的。

The answer was found using the answer of Abhilash Reddy in:答案是使用 Abhilash Reddy 的答案找到的:

How to disable all breakpoints in Xcode 如何禁用 Xcode 中的所有断点

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在super.ViewDidLoad下生成一个随机数 - Generating a random number under super.ViewDidLoad 为什么/什么时候我们必须调用 super.ViewDidLoad? - Why/when do we have to call super.ViewDidLoad? 快速访问在覆盖函数func中创建的变量viewDidLoad(){super.viewDidLoad()function - accessing variables created in the override func viewDidLoad() { super.viewDidLoad() function outside that function in swift 程序化UI:不要调用super.loadView但是调用super.viewDidLoad? - Programmatic UI: don't call super.loadView but do call super.viewDidLoad? 为什么通过添加super.viewdidload()程序不会陷入无限循环? - Why the program doesn't get into an infinite loop by adding super.viewdidload()? super.viewDidLoad()之前和之后的UIImageView.frame.size不同:我在做什么错? - Different UIImageView.frame.size before and after super.viewDidLoad() : what am I doing wrong? 在两个嵌套的子类中调用super.viewDidLoad()时,我正在使用Swift进行无限循环 - I'm getting an infinite loop with Swift when calling super.viewDidLoad() in two nested subclasses viewDidLoad vs调用超级viewDidLoad - viewDidLoad vs calling super viewDidLoad iOS 编程:“super dealloc”使应用程序崩溃 - iOS Programming: 'super dealloc' crashes app 什么时候调用[super viewDidLoad]和[super viewDIdUnload]? - When to call [super viewDidLoad] and [super viewDIdUnload]?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM