Re: Why am I breaking into gdb?
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