如何在swift中调试此信息(SIGTRAP#0)?

时间:2016-07-11 14:00:11

标签: swift swift2

我的申请崩溃了,我不知道问题..

libraryDependencies ++= Seq(
  "net.codingwell" %% "scala-guice" % "4.0.1",
  "org.reactivemongo" %% "reactivemongo" % "0.11.10",
  "org.reactivemongo" %% "play2-reactivemongo" % "0.11.10",
  "com.mohiva" %% "play-silhouette" % "3.0.0",
  "net.ceedubs" %% "ficus" % "1.1.2",
  "com.adrianhurt" %% "play-bootstrap3" % "0.4.4-P24",
  filters,
  cache,
  ws,
  specs2 % Test,
  "org.scalatest" %% "scalatest" % "2.2.4" % Test,
  "com.typesafe.play" %% "play-mailer" % "4.0.0",
  "it.innove" % "play2-pdf" % "1.4.0",
  "org.webjars" %% "webjars-play" % "2.5.0",
  "com.typesafe.play" %% "anorm" % "2.4.0")

我认为问题可能是0 klood 0x00000001000e4640 0x1000ac000 + 230976 1 PexKit 0x00000001003a17e8 0x100334000 + 448488 2 PexKit 0x00000001003a1414 0x100334000 + 447508 3 Foundation 0x0000000182f04540 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16 4 Foundation 0x0000000182e56870 -[NSBlockOperation main] + 96 5 Foundation 0x0000000182e46e48 -[__NSOperationInternal _start:] + 604 6 Foundation 0x0000000182f06934 __NSOQSchedule_f + 224 7 libdispatch.dylib 0x0000000181f9547c _dispatch_client_callout + 16 8 libdispatch.dylib 0x0000000181f9ab84 _dispatch_main_queue_callback_4CF + 1844 9 CoreFoundation 0x0000000182500d50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12 10 CoreFoundation 0x00000001824febb8 __CFRunLoopRun + 1628 11 CoreFoundation 0x0000000182428c50 CFRunLoopRunSpecific + 384 12 GraphicsServices 0x0000000183d10088 GSEventRunModal + 180 13 UIKit 0x0000000187712088 UIApplicationMain + 204 14 klood 0x0000000100162fb0 0x1000ac000 + 749488 15 libdyld.dylib 0x0000000181fc68b8 start + 4 ,我不知道如何修复它,非常感谢你。

1 个答案:

答案 0 :(得分:0)

从头开始,使用断点逐步执行代码。如果您不知道从哪里开始,请将断点放在第一个viewDidLoad()处,然后从那里开始。