• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Iphone debugging question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Iphone debugging question


  • Subject: Iphone debugging question
  • From: Brad Cox <email@hidden>
  • Date: Sun, 09 Aug 2009 15:19:19 -0400
  • Thread-topic: Iphone debugging question

Title: Iphone debugging question
My app started
 crashing during startup before any breakpoints in my code take hold. I’ve set a gdb breakpoint on setValue:forUndefinedKey and that is firing. But I haven’t found the right incantation to make gdb tell me what key isn’t being found or anything of any use really. Can someone help?

The gdb output around the break point is belo. <--- marks the line
0x305bdcb0  <+0000>  push   ëp
0x305bdcb1  <+0001>  mov    %esp,ëp
0x305bdcb3  <+0003>  push   íi
0x305bdcb4  <+0004>  push   %esi
0x305bdcb5  <+0005>  push   ëx
0x305bdcb6  <+0006>  sub    $0x3c,%esp
<--- breaks here --->
0x305bdcb9  <+0009>  call   0x305bdcbe <-[NSObject(NSKeyValueCoding) setValue:forUndefinedKey:]+14>
0x305bdcbe  <+0014>  pop    ëx
0x305bdcbf  <+0015>  mov    0x8(ëp),íi
0x305bdcc2  <+0018>  mov    0x14(ëp),%esi
0x305bdcc5  <+0021>  mov    íi,(%esp)
0x305bdcc8  <+0024>  call   0x30505dc0 <NSClassFromObject>
0x305bdccd  <+0029>  mov    %esi,0x14(%esp)
0x305bdcd1  <+0033>  mov    íi,0x10(%esp)
0x305bdcd5  <+0037>  mov    êx,0xc(%esp)
0x305bdcd9  <+0041>  lea    0xc706e(ëx),êx
0x305bdcdf  <+0047>  mov    êx,0x8(%esp)
0x305bdce3  <+0051>  mov    0xd0732(ëx),êx
0x305bdce9  <+0057>  mov    êx,0x4(%esp)
0x305bdced  <+0061>  mov    0xd212a(ëx),êx
0x305bdcf3  <+0067>  mov    êx,(%esp)
0x305bdcf6  <+0070>  call   0x306af856 <dyld_stub_objc_msgSend>
0x305bdcfb  <+0075>  mov    êx,-0x20(ëp)
0x305bdcfe  <+0078>  mov    0xd0602(ëx),êx
0x305bdd04  <+0084>  mov    êx,0x4(%esp)
0x305bdd08  <+0088>  mov    0xd215a(ëx),êx
0x305bdd0e  <+0094>  mov    êx,(%esp)
0x305bdd11  <+0097>  call   0x306af856 <dyld_stub_objc_msgSend>
0x305bdd16  <+0102>  mov    êx,-0x1c(ëp)
0x305bdd19  <+0105>  mov    %esi,íx
0x305bdd1b  <+0107>  test   %esi,%esi
0x305bdd1d  <+0109>  je     0x305bddb7 <-[NSObject(NSKeyValueCoding) setValue:forUndefinedKey:]+263>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Iphone debugging question
      • From: Kenneth Wieschhoff <email@hidden>
    • Re: Iphone debugging question
      • From: Luke Hiesterman <email@hidden>
  • Prev by Date: Re: Need iPhone orientation
  • Next by Date: Re: Iphone debugging question
  • Previous by thread: Re: Need iPhone orientation
  • Next by thread: Re: Iphone debugging question
  • Index(es):
    • Date
    • Thread