• 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
Re: Why am I breaking into gdb?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why am I breaking into gdb?


  • Subject: Re: Why am I breaking into gdb?
  • From: Ken Thomases <email@hidden>
  • Date: Sun, 29 Nov 2009 19:31:27 -0600

On Nov 29, 2009, at 6:50 PM, Ben Haller wrote:

Hi all. I have a really, really dumb question for you. I run my app, do a particular thing in it, and after chugging away calculating for sixty seconds or so, the debugger console suddenly comes alive, and there I am in gdb. The problem is, it's not clear to me why I'm there.

You are not launching your app under the debugger but are relying on the "Auto-attach debugger on crash" setting. In particular, note:


Attaching to process 95884.

The debugger is attaching to a process that's already running, and has already encountered a problem.


In this mode, it's pretty common for gdb not to know which thread actually had the problem, nor have a way to report what it was.

You could check the preceding stuff (before what you quoted) in the console for a hint. However, you'll have much better luck by actually launching the app under the debugger from the get-go. Select Debug from the Run menu.

Cheers,
Ken

_______________________________________________
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: Why am I breaking into gdb?
      • From: Ben Haller <email@hidden>
References: 
 >Why am I breaking into gdb? (From: Ben Haller <email@hidden>)

  • Prev by Date: SenTestingKit / SenTestCase not working on iPhone
  • Next by Date: Re: Why am I breaking into gdb?
  • Previous by thread: Why am I breaking into gdb?
  • Next by thread: Re: Why am I breaking into gdb?
  • Index(es):
    • Date
    • Thread