在仪器中出现的单触点符号

时间:2011-03-10 17:20:10

标签: xamarin.ios

新手在这里进行monotouch和'原生'iPhone开发。我正在尝试调试一些内存泄漏并且在执行此操作时遇到问题。我的应用程序是UIImage很重,我肯定会泄漏它们,但很难找到它。

尝试使用仪器查找位置,但看起来我看不到符号,只看到原始地址。有关如何让仪器看到正确的callstack的任何想法?在我看来,由于monotouch没有JIT编译,monotouch应该能够为它生成的代码生成符号。

乐器中的callstack示例:

   0 libSystem.B.dylib calloc
   1 libobjc.A.dylib _internal_class_createInstanceFromZone
   2 libobjc.A.dylib class_createInstance
   3 CoreFoundation +[NSObject(NSObject) allocWithZone:]
   4 CoreFoundation +[NSObject(NSObject) alloc]
   5 UIKit GetPartImages
   6 UIKit -[UITextFieldRoundedRectBackgroundView _updateImages]
   7 UIKit -[UITextFieldBackgroundView initWithFrame:active:]
   8 UIKit -[UITextField setBorderStyle:]
   9  0xdf40ced
  10  0xdf41846
  11  0xdf40f0e
  12  0xdf3fc75
  13  0x88b2051
  14 iPhone mono_jit_runtime_invoke
  15 iPhone mono_runtime_invoke
  16 iPhone mono_runtime_invoke_array
  17 iPhone ves_icall_InternalInvoke
  18  0xcfc5d93
  19  0xcfc57c5
  20  0xcfc5648
  21  0xcfc9083
  22  0xcfc8f2d
  23  0xcfc8d93
  24  0xdcb02c1
  25  0xdcb025b
  26  0xdcb0034

0 个答案:

没有答案